Show / Hide Table of Contents

Class CfnApplicationReferenceDataSourceProps

Properties for defining a CfnApplicationReferenceDataSource.

Inheritance
object
CfnApplicationReferenceDataSourceProps
Implements
ICfnApplicationReferenceDataSourceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationReferenceDataSourceProps : ICfnApplicationReferenceDataSourceProps
Syntax (vb)
Public Class CfnApplicationReferenceDataSourceProps Implements 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

Constructors

CfnApplicationReferenceDataSourceProps()

Properties for defining a CfnApplicationReferenceDataSource.

Properties

ApplicationName

Name of an existing application.

ReferenceDataSource

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

Constructors

CfnApplicationReferenceDataSourceProps()

Properties for defining a CfnApplicationReferenceDataSource.

public CfnApplicationReferenceDataSourceProps()
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"
                 }
             };

Properties

ApplicationName

Name of an existing application.

public string ApplicationName { get; set; }
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.

public object ReferenceDataSource { get; set; }
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

Implements

ICfnApplicationReferenceDataSourceProps
Back to top Generated by DocFX