Show / Hide Table of Contents

Class CfnApplicationV2.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.

Inheritance
System.Object
CfnApplicationV2.InputProperty
Implements
CfnApplicationV2.IInputProperty
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.AWS.KinesisAnalytics.dll
Syntax (csharp)
public class InputProperty : Object, CfnApplicationV2.IInputProperty
Syntax (vb)
Public Class InputProperty
    Inherits Object
    Implements CfnApplicationV2.IInputProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html

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.AWS.KinesisAnalytics;

var inputProperty = new InputProperty {
    InputSchema = new InputSchemaProperty {
        RecordColumns = new [] { new RecordColumnProperty {
            Name = "name",
            SqlType = "sqlType",

            // the properties below are optional
            Mapping = "mapping"
        } },
        RecordFormat = new RecordFormatProperty {
            RecordFormatType = "recordFormatType",

            // the properties below are optional
            MappingParameters = new MappingParametersProperty {
                CsvMappingParameters = new CSVMappingParametersProperty {
                    RecordColumnDelimiter = "recordColumnDelimiter",
                    RecordRowDelimiter = "recordRowDelimiter"
                },
                JsonMappingParameters = new JSONMappingParametersProperty {
                    RecordRowPath = "recordRowPath"
                }
            }
        },

        // the properties below are optional
        RecordEncoding = "recordEncoding"
    },
    NamePrefix = "namePrefix",

    // the properties below are optional
    InputParallelism = new InputParallelismProperty {
        Count = 123
    },
    InputProcessingConfiguration = new InputProcessingConfigurationProperty {
        InputLambdaProcessor = new InputLambdaProcessorProperty {
            ResourceArn = "resourceArn"
        }
    },
    KinesisFirehoseInput = new KinesisFirehoseInputProperty {
        ResourceArn = "resourceArn"
    },
    KinesisStreamsInput = new KinesisStreamsInputProperty {
        ResourceArn = "resourceArn"
    }
};

Synopsis

Constructors

InputProperty()

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()

public InputProperty()

Properties

InputParallelism

Describes the number of in-application streams to create.

public object InputParallelism { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputparallelism

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

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputprocessingconfiguration

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

System.Object

Remarks

Also used to describe the format of the reference data source.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputschema

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

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisfirehoseinput

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

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisstreamsinput

NamePrefix

The name prefix to use when creating an in-application stream.

public string NamePrefix { get; set; }
Property Value

System.String

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-nameprefix

Implements

CfnApplicationV2.IInputProperty
Back to top Generated by DocFX