interface ReferenceDataSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.KinesisAnalyticsV2.Mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceDataSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskinesisanalyticsv2/mixins#CfnApplicationReferenceDataSourcePropsMixin_ReferenceDataSourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.kinesisanalyticsv2.mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceDataSourceProperty |
Python | aws_cdk.mixins_preview.aws_kinesisanalyticsv2.mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceDataSourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kinesisanalyticsv2 » mixins » CfnApplicationReferenceDataSourcePropsMixin » ReferenceDataSourceProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as kinesisanalyticsv2_mixins } from '@aws-cdk/mixins-preview/aws-kinesisanalyticsv2';
const referenceDataSourceProperty: kinesisanalyticsv2_mixins.CfnApplicationReferenceDataSourcePropsMixin.ReferenceDataSourceProperty = {
referenceSchema: {
recordColumns: [{
mapping: 'mapping',
name: 'name',
sqlType: 'sqlType',
}],
recordEncoding: 'recordEncoding',
recordFormat: {
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
recordFormatType: 'recordFormatType',
},
},
s3ReferenceDataSource: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
},
tableName: 'tableName',
};
Properties
| Name | Type | Description |
|---|---|---|
| reference | IResolvable | Reference | Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream. |
| s3 | IResolvable | S3 | Identifies the S3 bucket and object that contains the reference data. |
| table | string | The name of the in-application table to create. |
referenceSchema?
Type:
IResolvable | Reference
(optional)
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
s3ReferenceDataSource?
Type:
IResolvable | S3
(optional)
Identifies the S3 bucket and object that contains the reference data.
A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
tableName?
Type:
string
(optional)
The name of the in-application table to create.

.NET
Go
Java
Python
TypeScript