Class CfnApplicationReferenceDataSourceMixinProps
Properties for CfnApplicationReferenceDataSourcePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.KinesisAnalytics.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnApplicationReferenceDataSourceMixinProps : ICfnApplicationReferenceDataSourceMixinProps
Syntax (vb)
Public Class CfnApplicationReferenceDataSourceMixinProps Implements ICfnApplicationReferenceDataSourceMixinProps
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.Mixins.Preview.AWS.KinesisAnalytics.Mixins;
var cfnApplicationReferenceDataSourceMixinProps = new CfnApplicationReferenceDataSourceMixinProps {
ApplicationName = "applicationName",
ReferenceDataSource = new ReferenceDataSourceProperty {
ReferenceSchema = new ReferenceSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Mapping = "mapping",
Name = "name",
SqlType = "sqlType"
} },
RecordEncoding = "recordEncoding",
RecordFormat = new RecordFormatProperty {
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
},
RecordFormatType = "recordFormatType"
}
},
S3ReferenceDataSource = new S3ReferenceDataSourceProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
ReferenceRoleArn = "referenceRoleArn"
},
TableName = "tableName"
}
};
Synopsis
Constructors
| CfnApplicationReferenceDataSourceMixinProps() | Properties for CfnApplicationReferenceDataSourcePropsMixin. |
Properties
| ApplicationName | Name of an existing application. |
| ReferenceDataSource | The reference data source can be an object in your Amazon S3 bucket. |
Constructors
CfnApplicationReferenceDataSourceMixinProps()
Properties for CfnApplicationReferenceDataSourcePropsMixin.
public CfnApplicationReferenceDataSourceMixinProps()
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.Mixins.Preview.AWS.KinesisAnalytics.Mixins;
var cfnApplicationReferenceDataSourceMixinProps = new CfnApplicationReferenceDataSourceMixinProps {
ApplicationName = "applicationName",
ReferenceDataSource = new ReferenceDataSourceProperty {
ReferenceSchema = new ReferenceSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Mapping = "mapping",
Name = "name",
SqlType = "sqlType"
} },
RecordEncoding = "recordEncoding",
RecordFormat = new RecordFormatProperty {
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
},
RecordFormatType = "recordFormatType"
}
},
S3ReferenceDataSource = new S3ReferenceDataSourceProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
ReferenceRoleArn = "referenceRoleArn"
},
TableName = "tableName"
}
};
Properties
ApplicationName
Name of an existing application.
public string? ApplicationName { get; set; }
Property Value
Remarks
ReferenceDataSource
The reference data source can be an object in your Amazon S3 bucket.
public object? ReferenceDataSource { get; set; }
Property Value
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.
Type union: either IResolvable or CfnApplicationReferenceDataSourcePropsMixin.IReferenceDataSourceProperty