AWS::KinesisAnalytics::Application Input
When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. For more information, see Configuring Application Input.
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.
Data from your source is routed to these in-application input streams.
See Configuring Application Input.
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 Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
KinesisStreamsInput
orKinesisFirehoseInput
is required.Required: Conditional
Type: KinesisFirehoseInput
Update requires: No interruption
KinesisStreamsInput
-
If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
KinesisStreamsInput
orKinesisFirehoseInput
is required.Required: Conditional
Type: KinesisStreamsInput
Update requires: No interruption
NamePrefix
-
Name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.Required: Yes
Type: String
Minimum:
1
Maximum:
32
Update requires: No interruption