Class CfnApplicationReferenceDataSourcePropsMixin
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.KinesisAnalyticsV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnApplicationReferenceDataSourcePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnApplicationReferenceDataSourcePropsMixin Inherits Mixin Implements IMixin
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
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.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationReferenceDataSourcePropsMixin = new CfnApplicationReferenceDataSourcePropsMixin(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"
},
TableName = "tableName"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnApplicationReferenceDataSourcePropsMixin(ICfnApplicationReferenceDataSourceMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Adds a reference data source to an existing SQL-based Kinesis Data Analytics application. |
| Props | Adds a reference data source to an existing SQL-based Kinesis Data Analytics application. |
| Strategy | Adds a reference data source to an existing SQL-based Kinesis Data Analytics application. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnApplicationReferenceDataSourcePropsMixin(ICfnApplicationReferenceDataSourceMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.
public CfnApplicationReferenceDataSourcePropsMixin(ICfnApplicationReferenceDataSourceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnApplicationReferenceDataSourceMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
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.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationReferenceDataSourcePropsMixin = new CfnApplicationReferenceDataSourcePropsMixin(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"
},
TableName = "tableName"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
protected virtual ICfnApplicationReferenceDataSourceMixinProps Props { get; }
Property Value
ICfnApplicationReferenceDataSourceMixinProps
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
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.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationReferenceDataSourcePropsMixin = new CfnApplicationReferenceDataSourcePropsMixin(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"
},
TableName = "tableName"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
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.CfnPropertyMixins.AWS.KinesisAnalyticsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationReferenceDataSourcePropsMixin = new CfnApplicationReferenceDataSourcePropsMixin(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"
},
TableName = "tableName"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource
Mixin: true
ExampleMetadata: fixture=_generated