AWS CloudFormation
User Guide (Version )


Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.

If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.

You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors.

Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Type" : "AWS::KinesisAnalyticsV2::ApplicationOutput", "Properties" : { "ApplicationName" : String, "Output" : Output } }


Type: AWS::KinesisAnalyticsV2::ApplicationOutput Properties: ApplicationName: String Output: Output



The name of the application.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Pattern: [a-zA-Z0-9_.-]+

Update requires: Replacement


Describes an SQL-based Amazon Kinesis Data Analytics application's 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 a Kinesis data stream or a Kinesis Data Firehose delivery stream.

Required: Yes

Type: Output

Update requires: No interruption


Create an ApplicationOutput object


{ "Type": "AWS::KinesisAnalyticsV2::ApplicationOutput", "Properties": { "ApplicationName": { "Ref": "BasicApplication" }, "Output": { "Name": "exampleOutput", "DestinationSchema": { "RecordFormatType": "CSV" }, "KinesisStreamsOutput": { "ResourceARN": { "Fn::GetAtt": [ "OutputKinesisStream", "Arn" ] } } } } }


Type: 'AWS::KinesisAnalyticsV2::ApplicationOutput' Properties: ApplicationName: !Ref BasicApplication Output: Name: exampleOutput DestinationSchema: RecordFormatType: CSV KinesisStreamsOutput: ResourceARN: !GetAtt - OutputKinesisStream - Arn

See Also