aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.InputSchemaProperty

interface InputSchemaProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.InputSchemaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationV2_InputSchemaProperty
Javasoftware.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.InputSchemaProperty
Pythonaws_cdk.aws_kinesisanalytics.CfnApplicationV2.InputSchemaProperty
TypeScript aws-cdk-lib » aws_kinesisanalytics » CfnApplicationV2 » InputSchemaProperty

For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

Example

// 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 inputSchemaProperty: kinesisanalytics.CfnApplicationV2.InputSchemaProperty = {
  recordColumns: [{
    name: 'name',
    sqlType: 'sqlType',

    // the properties below are optional
    mapping: 'mapping',
  }],
  recordFormat: {
    recordFormatType: 'recordFormatType',

    // the properties below are optional
    mappingParameters: {
      csvMappingParameters: {
        recordColumnDelimiter: 'recordColumnDelimiter',
        recordRowDelimiter: 'recordRowDelimiter',
      },
      jsonMappingParameters: {
        recordRowPath: 'recordRowPath',
      },
    },
  },

  // the properties below are optional
  recordEncoding: 'recordEncoding',
};

Properties

NameTypeDescription
recordColumnsIResolvable | IResolvable | RecordColumnProperty[]A list of RecordColumn objects.
recordFormatIResolvable | RecordFormatPropertySpecifies the format of the records on the streaming source.
recordEncoding?stringSpecifies the encoding of the records in the streaming source.

recordColumns

Type: IResolvable | IResolvable | RecordColumnProperty[]

A list of RecordColumn objects.


recordFormat

Type: IResolvable | RecordFormatProperty

Specifies the format of the records on the streaming source.


recordEncoding?

Type: string (optional)

Specifies the encoding of the records in the streaming source.

For example, UTF-8.