Class CfnApplicationReferenceDataSourceV2Props
Properties for defining a CfnApplicationReferenceDataSource
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationReferenceDataSourceV2Props : Object, ICfnApplicationReferenceDataSourceV2Props
Syntax (vb)
Public Class CfnApplicationReferenceDataSourceV2Props
Inherits Object
Implements ICfnApplicationReferenceDataSourceV2Props
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 cfnApplicationReferenceDataSourceV2Props = new CfnApplicationReferenceDataSourceV2Props {
ApplicationName = "applicationName",
ReferenceDataSource = 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"
},
TableName = "tableName"
}
};
Synopsis
Constructors
CfnApplicationReferenceDataSourceV2Props() |
Properties
ApplicationName | The name of the application. |
ReferenceDataSource | 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. |
Constructors
CfnApplicationReferenceDataSourceV2Props()
public CfnApplicationReferenceDataSourceV2Props()
Properties
ApplicationName
The name of the application.
public string ApplicationName { get; set; }
Property Value
System.String
Remarks
ReferenceDataSource
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.
public object ReferenceDataSource { get; set; }
Property Value
System.Object