AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::KinesisAnalyticsV2::ApplicationOutput

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.

Syntax

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

JSON

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

YAML

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

Properties

ApplicationName

The name of the application.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

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

Update requires: Replacement

Output

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

Examples

Create an ApplicationOutput object

JSON

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

YAML

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

See Also