Class CfnApplicationReferenceDataSourceProps
Properties for defining a CfnApplicationReferenceDataSource
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationReferenceDataSourceProps : Object, ICfnApplicationReferenceDataSourceProps
Syntax (vb)
Public Class CfnApplicationReferenceDataSourceProps
Inherits Object
Implements ICfnApplicationReferenceDataSourceProps
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 cfnApplicationReferenceDataSourceProps = new CfnApplicationReferenceDataSourceProps {
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",
ReferenceRoleArn = "referenceRoleArn"
},
TableName = "tableName"
}
};
Synopsis
Constructors
Cfn |
Properties
Application |
Name of an existing application. |
Reference |
The reference data source can be an object in your Amazon S3 bucket. |
Constructors
CfnApplicationReferenceDataSourceProps()
public CfnApplicationReferenceDataSourceProps()
Properties
ApplicationName
Name of an existing application.
public string ApplicationName { get; set; }
Property Value
System.
Remarks
ReferenceDataSource
The reference data source can be an object in your Amazon S3 bucket.
public object ReferenceDataSource { get; set; }
Property Value
System.
Remarks
Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.