Show / Hide Table of Contents

Interface ICfnApplicationReferenceDataSourceProps

Properties for defining a CfnApplicationReferenceDataSource.

Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnApplicationReferenceDataSourceProps
Syntax (vb)
Public Interface ICfnApplicationReferenceDataSourceProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html

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

Properties

ApplicationName

Name of an existing application.

ReferenceDataSource

The reference data source can be an object in your Amazon S3 bucket.

Properties

ApplicationName

Name of an existing application.

string ApplicationName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-applicationname

ReferenceDataSource

The reference data source can be an object in your Amazon S3 bucket.

object ReferenceDataSource { get; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource

Back to top Generated by DocFX