Skip to content
v2.278.0

OutputProperty ​

Struct External

Describes application output configuration in which you identify an in-application stream and a destination where you want the in-application stream data to be written.

The destination can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.

For limits on how many destinations an application can write and other limitations, see Limits .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const outputProperty: kinesisanalytics.CfnApplicationOutput.OutputProperty = {
  destinationSchema: {
    recordFormatType: 'recordFormatType',
  },

  // the properties below are optional
  kinesisFirehoseOutput: {
    resourceArn: 'resourceArn',
    roleArn: 'roleArn',
  },
  kinesisStreamsOutput: {
    resourceArn: 'resourceArn',
    roleArn: 'roleArn',
  },
  lambdaOutput: {
    resourceArn: 'resourceArn',
    roleArn: 'roleArn',
  },
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesisanalytics as kinesisanalytics

output_property = kinesisanalytics.CfnApplicationOutput.OutputProperty(
    destination_schema=kinesisanalytics.CfnApplicationOutput.DestinationSchemaProperty(
        record_format_type="recordFormatType"
    ),

    # the properties below are optional
    kinesis_firehose_output=kinesisanalytics.CfnApplicationOutput.KinesisFirehoseOutputProperty(
        resource_arn="resourceArn",
        role_arn="roleArn"
    ),
    kinesis_streams_output=kinesisanalytics.CfnApplicationOutput.KinesisStreamsOutputProperty(
        resource_arn="resourceArn",
        role_arn="roleArn"
    ),
    lambda_output=kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty(
        resource_arn="resourceArn",
        role_arn="roleArn"
    ),
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalytics.*;

OutputProperty outputProperty = OutputProperty.builder()
        .destinationSchema(DestinationSchemaProperty.builder()
                .recordFormatType("recordFormatType")
                .build())

        // the properties below are optional
        .kinesisFirehoseOutput(KinesisFirehoseOutputProperty.builder()
                .resourceArn("resourceArn")
                .roleArn("roleArn")
                .build())
        .kinesisStreamsOutput(KinesisStreamsOutputProperty.builder()
                .resourceArn("resourceArn")
                .roleArn("roleArn")
                .build())
        .lambdaOutput(LambdaOutputProperty.builder()
                .resourceArn("resourceArn")
                .roleArn("roleArn")
                .build())
        .name("name")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;

var outputProperty = new OutputProperty {
    DestinationSchema = new DestinationSchemaProperty {
        RecordFormatType = "recordFormatType"
    },

    // the properties below are optional
    KinesisFirehoseOutput = new KinesisFirehoseOutputProperty {
        ResourceArn = "resourceArn",
        RoleArn = "roleArn"
    },
    KinesisStreamsOutput = new KinesisStreamsOutputProperty {
        ResourceArn = "resourceArn",
        RoleArn = "roleArn"
    },
    LambdaOutput = new LambdaOutputProperty {
        ResourceArn = "resourceArn",
        RoleArn = "roleArn"
    },
    Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

outputProperty := &OutputProperty{
	DestinationSchema: &DestinationSchemaProperty{
		RecordFormatType: jsii.String("recordFormatType"),
	},

	// the properties below are optional
	KinesisFirehoseOutput: &KinesisFirehoseOutputProperty{
		ResourceArn: jsii.String("resourceArn"),
		RoleArn: jsii.String("roleArn"),
	},
	KinesisStreamsOutput: &KinesisStreamsOutputProperty{
		ResourceArn: jsii.String("resourceArn"),
		RoleArn: jsii.String("roleArn"),
	},
	LambdaOutput: &LambdaOutputProperty{
		ResourceArn: jsii.String("resourceArn"),
		RoleArn: jsii.String("roleArn"),
	},
	Name: jsii.String("name"),
}

Properties ​

destinationSchemaIResolvable | CfnApplicationOutput.DestinationSchemaPropertydestination_schematyping.Union[IResolvable, DestinationSchemaProperty]destinationSchemaIResolvableDestinationSchemaIResolvableDestinationSchemainterface{} required #
Describes the data format when records are written to the destination.

For more information, see Configuring Application Output .

kinesisFirehoseOutputoptionalIResolvable | CfnApplicationOutput.KinesisFirehoseOutputPropertykinesis_firehose_outputoptionaltyping.Union[IResolvable, KinesisFirehoseOutputProperty]kinesisFirehoseOutputoptionalIResolvableKinesisFirehoseOutputoptionalIResolvableKinesisFirehoseOutputoptionalinterface{} #
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
kinesisStreamsOutputoptionalIResolvable | CfnApplicationOutput.KinesisStreamsOutputPropertykinesis_streams_outputoptionaltyping.Union[IResolvable, KinesisStreamsOutputProperty]kinesisStreamsOutputoptionalIResolvableKinesisStreamsOutputoptionalIResolvableKinesisStreamsOutputoptionalinterface{} #
Identifies an Amazon Kinesis stream as the destination.
lambdaOutputoptionalIResolvable | CfnApplicationOutput.LambdaOutputPropertylambda_outputoptionaltyping.Union[IResolvable, LambdaOutputProperty]lambdaOutputoptionalIResolvableLambdaOutputoptionalIResolvableLambdaOutputoptionalinterface{} #
Identifies an AWS Lambda function as the destination.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
Name of the in-application stream.