CfnApplicationReferenceDataSourceMixinProps

class aws_cdk.mixins_preview.aws_kinesisanalyticsv2.mixins.CfnApplicationReferenceDataSourceMixinProps(*, application_name=None, reference_data_source=None)

Bases: object

Properties for CfnApplicationReferenceDataSourcePropsMixin.

Parameters:
  • application_name (Optional[str]) – The name of the application.

  • reference_data_source (Union[IResolvable, ReferenceDataSourceProperty, Dict[str, Any], None]) – For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_kinesisanalyticsv2 import mixins as kinesisanalyticsv2_mixins

cfn_application_reference_data_source_mixin_props = kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourceMixinProps(
    application_name="applicationName",
    reference_data_source=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceDataSourceProperty(
        reference_schema=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceSchemaProperty(
            record_columns=[kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.RecordColumnProperty(
                mapping="mapping",
                name="name",
                sql_type="sqlType"
            )],
            record_encoding="recordEncoding",
            record_format=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.RecordFormatProperty(
                mapping_parameters=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.MappingParametersProperty(
                    csv_mapping_parameters=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.CSVMappingParametersProperty(
                        record_column_delimiter="recordColumnDelimiter",
                        record_row_delimiter="recordRowDelimiter"
                    ),
                    json_mapping_parameters=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.JSONMappingParametersProperty(
                        record_row_path="recordRowPath"
                    )
                ),
                record_format_type="recordFormatType"
            )
        ),
        s3_reference_data_source=kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.S3ReferenceDataSourceProperty(
            bucket_arn="bucketArn",
            file_key="fileKey"
        ),
        table_name="tableName"
    )
)

Attributes

application_name

The name of the application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-applicationname

reference_data_source

For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource