AWS::KinesisAnalyticsV2::Application Input
When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "InputParallelism" :
InputParallelism
, "InputProcessingConfiguration" :InputProcessingConfiguration
, "InputSchema" :InputSchema
, "KinesisFirehoseInput" :KinesisFirehoseInput
, "KinesisStreamsInput" :KinesisStreamsInput
, "NamePrefix" :String
}
YAML
InputParallelism:
InputParallelism
InputProcessingConfiguration:InputProcessingConfiguration
InputSchema:InputSchema
KinesisFirehoseInput:KinesisFirehoseInput
KinesisStreamsInput:KinesisStreamsInput
NamePrefix:String
Properties
InputParallelism
-
Describes the number of in-application streams to create.
Required: No
Type: InputParallelism
Update requires: No interruption
InputProcessingConfiguration
-
The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.
Required: No
Type: InputProcessingConfiguration
Update requires: No interruption
InputSchema
-
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
Also used to describe the format of the reference data source.
Required: Yes
Type: InputSchema
Update requires: No interruption
KinesisFirehoseInput
-
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
Required: No
Type: KinesisFirehoseInput
Update requires: No interruption
KinesisStreamsInput
-
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
Required: No
Type: KinesisStreamsInput
Update requires: No interruption
NamePrefix
-
The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per theInputParallelism
count you specified) in-application streams with the names "MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.Required: Yes
Type: String
Pattern:
^[^-\s<>&]*$
Minimum:
1
Maximum:
32
Update requires: No interruption
See also
-
Input in the Amazon Kinesis Data Analytics API Reference