aws-cdk-lib.aws_kinesisanalytics.CfnApplication.InputSchemaProperty

interface InputSchemaProperty

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

Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

Also used to describe the format of the reference data source.

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.CfnApplication.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.