RecordColumnProperty Struct
Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
Also used to describe the format of the reference data source.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const recordColumnProperty: kinesisanalytics.CfnApplication.RecordColumnProperty = {
name: 'name',
sqlType: 'sqlType',
// the properties below are optional
mapping: 'mapping',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesisanalytics as kinesisanalytics
record_column_property = kinesisanalytics.CfnApplication.RecordColumnProperty(
name="name",
sql_type="sqlType",
# the properties below are optional
mapping="mapping"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalytics.*;
RecordColumnProperty recordColumnProperty = RecordColumnProperty.builder()
.name("name")
.sqlType("sqlType")
// the properties below are optional
.mapping("mapping")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 recordColumnProperty = new RecordColumnProperty {
Name = "name",
SqlType = "sqlType",
// the properties below are optional
Mapping = "mapping"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
recordColumnProperty := &RecordColumnProperty{
Name: jsii.String("name"),
SqlType: jsii.String("sqlType"),
// the properties below are optional
Mapping: jsii.String("mapping"),
}
Properties
mappingoptionalstringmappingoptionalstrmappingoptionalStringMappingoptionalstringMappingoptional*string #Reference to the data element in the streaming input or the reference data source.
This element is required if the RecordFormatType is JSON .
Name of the column created in the in-application input stream or reference table.
Type of column created in the in-application input stream or reference table.