Skip to content
v2.275.0

IcebergSchemaV2Property Struct ​

Contains details about the schema version 2 (V2) for an Iceberg table that supports Apache Iceberg Nested Types (struct, list, map).

Primitive types are also supported.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';

declare const type: any;
const icebergSchemaV2Property: s3tables.CfnTable.IcebergSchemaV2Property = {
  schemaV2FieldList: [{
    id: 123,
    name: 'name',
    required: false,
    type: type,

    // the properties below are optional
    doc: 'doc',
  }],
  schemaV2FieldType: 'schemaV2FieldType',

  // the properties below are optional
  identifierFieldIds: [123],
  schemaId: 123,
};

Properties ​

identifierFieldIdsoptionalnumber[] | IResolvableidentifier_field_idsoptionaltyping.Union[typing.List[int | float], IResolvable]identifierFieldIdsoptionalList<Number>IdentifierFieldIdsoptionaldouble[]IdentifierFieldIdsoptionalinterface{}#
A list of field IDs that are used as the identifier fields for the table.

Identifier fields uniquely identify a row in the table.

schemaIdoptionalnumberschema_idoptionalint | floatschemaIdoptionalNumberSchemaIdoptionaldoubleSchemaIdoptional*float64#
An optional unique identifier for the schema.
schemaV2FieldListIResolvable | IResolvable | CfnTable.SchemaV2FieldProperty[]schema_v2_field_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SchemaV2FieldProperty]]]schemaV2FieldListIResolvableSchemaV2FieldListIResolvableSchemaV2FieldListinterface{}required#
List of schema fields that support nested types.
schemaV2FieldTypestringschema_v2_field_typestrschemaV2FieldTypeStringSchemaV2FieldTypestringSchemaV2FieldType*stringrequired#
The type of the top-level schema, which is always 'struct'.