Interface CfnApplicationReferenceDataSource.IReferenceDataSourceProperty
Describes the reference data source by providing the source information (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.
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.AWS.KinesisAnalytics.dll
Syntax (csharp)
public interface IReferenceDataSourceProperty
Syntax (vb)
Public Interface IReferenceDataSourceProperty
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.AWS.KinesisAnalytics;
var referenceDataSourceProperty = new ReferenceDataSourceProperty {
ReferenceSchema = new ReferenceSchemaProperty {
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"
},
// the properties below are optional
S3ReferenceDataSource = new S3ReferenceDataSourceProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
ReferenceRoleArn = "referenceRoleArn"
},
TableName = "tableName"
};
Synopsis
Properties
ReferenceSchema | 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 | Identifies the S3 bucket and object that contains the reference data. |
TableName | Name of the in-application table to create. |
Properties
ReferenceSchema
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.
object ReferenceSchema { get; }
Property Value
System.Object
Remarks
S3ReferenceDataSource
Identifies the S3 bucket and object that contains the reference data.
virtual object S3ReferenceDataSource { get; }
Property Value
System.Object
Remarks
Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis 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
Name of the in-application table to create.
virtual string TableName { get; }
Property Value
System.String