AWS Fundamentals Logo
AWS Fundamentals
L1 Construct

CfnApplicationOutputV2

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 Amazon 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](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_DescribeApplication.html) operation to find the current application version. > Creation of multiple outputs should be sequential (use of DependsOn) to avoid a problem with a stale application version ( *ConcurrentModificationException* ).

Import

import { CfnApplicationOutputV2 } from 'aws-cdk-lib/aws-kinesisanalytics';

Or use the module namespace:

import * as kinesisanalytics from 'aws-cdk-lib/aws-kinesisanalytics';
// kinesisanalytics.CfnApplicationOutputV2

Properties

Configuration passed to the constructor as CfnApplicationOutputV2Props.

applicationNameRequired
string

The name of the application.

outputRequired
IResolvable | OutputProperty

Describes a SQL-based 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.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter