Class CfnApplicationPropsMixin.InputProperty
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.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.KinesisAnalyticsV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.InputProperty : CfnApplicationPropsMixin.IInputProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.InputProperty Implements CfnApplicationPropsMixin.IInputProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
var inputProperty = new InputProperty {
InputParallelism = new InputParallelismProperty {
Count = 123
},
InputProcessingConfiguration = new InputProcessingConfigurationProperty {
InputLambdaProcessor = new InputLambdaProcessorProperty {
ResourceArn = "resourceArn"
}
},
InputSchema = new InputSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Mapping = "mapping",
Name = "name",
SqlType = "sqlType"
} },
RecordEncoding = "recordEncoding",
RecordFormat = new RecordFormatProperty {
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
},
RecordFormatType = "recordFormatType"
}
},
KinesisFirehoseInput = new KinesisFirehoseInputProperty {
ResourceArn = "resourceArn"
},
KinesisStreamsInput = new KinesisStreamsInputProperty {
ResourceArn = "resourceArn"
},
NamePrefix = "namePrefix"
};
Synopsis
Constructors
| InputProperty() | 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. |
Properties
| InputParallelism | Describes the number of in-application streams to create. |
| 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 . |
| 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. |
| KinesisFirehoseInput | If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN. |
| KinesisStreamsInput | If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN). |
| NamePrefix | The name prefix to use when creating an in-application stream. |
Constructors
InputProperty()
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.
public InputProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
var inputProperty = new InputProperty {
InputParallelism = new InputParallelismProperty {
Count = 123
},
InputProcessingConfiguration = new InputProcessingConfigurationProperty {
InputLambdaProcessor = new InputLambdaProcessorProperty {
ResourceArn = "resourceArn"
}
},
InputSchema = new InputSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Mapping = "mapping",
Name = "name",
SqlType = "sqlType"
} },
RecordEncoding = "recordEncoding",
RecordFormat = new RecordFormatProperty {
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
},
RecordFormatType = "recordFormatType"
}
},
KinesisFirehoseInput = new KinesisFirehoseInputProperty {
ResourceArn = "resourceArn"
},
KinesisStreamsInput = new KinesisStreamsInputProperty {
ResourceArn = "resourceArn"
},
NamePrefix = "namePrefix"
};
Properties
InputParallelism
Describes the number of in-application streams to create.
public object? InputParallelism { get; set; }
Property Value
Remarks
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 .
public object? InputProcessingConfiguration { get; set; }
Property Value
Remarks
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.
public object? InputSchema { get; set; }
Property Value
Remarks
Also used to describe the format of the reference data source.
Type union: either IResolvable or CfnApplicationPropsMixin.IInputSchemaProperty
KinesisFirehoseInput
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
public object? KinesisFirehoseInput { get; set; }
Property Value
Remarks
KinesisStreamsInput
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
public object? KinesisStreamsInput { get; set; }
Property Value
Remarks
NamePrefix
The name prefix to use when creating an in-application stream.
public string? NamePrefix { get; set; }
Property Value
Remarks
Suppose that you specify a prefix " MyInApplicationStream ." Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names " MyInApplicationStream_001 ," " MyInApplicationStream_002 ," and so on.