aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.RecordFormatProperty

interface RecordFormatProperty

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

For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the 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 recordFormatProperty: kinesisanalytics.CfnApplicationV2.RecordFormatProperty = {
  recordFormatType: 'recordFormatType',

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

Properties

NameTypeDescription
recordFormatTypestringThe type of record format.
mappingParameters?IResolvable | MappingParametersPropertyWhen you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

recordFormatType

Type: string

The type of record format.


mappingParameters?

Type: IResolvable | MappingParametersProperty (optional)

When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.