Skip to content

Kinesis  >  Structures  >  RecordConfiguration

RecordConfiguration

Structure Class

RecordConfiguration dataclass

Bases: _SerdeShape

Specifies the format of records read from the source stream.

Attributes

gsr_schema_arn class-attribute instance-attribute
gsr_schema_arn: str | None = ...

The Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate records. Required when the channel destination is a streaming table.

record_format_type instance-attribute
record_format_type: str

The format of records on the source stream. Valid values:

  • GSR_JSON - Supported only for streaming table (Amazon S3 Tables) destinations.

  • JSON - Supported for both general purpose Amazon S3 and streaming table destinations.

  • STRING - Supported only for general purpose Amazon S3 destinations.

  • BYTE_ARRAY - Supported only for general purpose Amazon S3 destinations.