IcebergSchemaProperty
- class aws_cdk.aws_s3tables_alpha.IcebergSchemaProperty(*, schema_field_list)
Bases:
object
(experimental) Contains details about the schema for an Iceberg table.
- Parameters:
schema_field_list (
Sequence
[Union
[SchemaFieldProperty
,Dict
[str
,Any
]]]) – (experimental) Contains details about the schema for an Iceberg table.- Stability:
experimental
- ExampleMetadata:
infused
Example:
# Build a table sample_table = Table(scope, "ExampleTable", table_name="example_table", namespace=namespace, open_table_format=OpenTableFormat.ICEBERG, without_metadata=True ) # Build a table with an Iceberg Schema sample_table_with_schema = Table(scope, "ExampleSchemaTable", table_name="example_table_with_schema", namespace=namespace, open_table_format=OpenTableFormat.ICEBERG, iceberg_metadata=IcebergMetadataProperty( iceberg_schema=IcebergSchemaProperty( schema_field_list=[SchemaFieldProperty( name="id", type="int", required=True ), SchemaFieldProperty( name="name", type="string" ) ] ) ), compaction=CompactionProperty( status=Status.ENABLED, target_file_size_mb=128 ), snapshot_management=SnapshotManagementProperty( status=Status.ENABLED, max_snapshot_age_hours=48, min_snapshots_to_keep=5 ) )
Attributes
- schema_field_list
(experimental) Contains details about the schema for an Iceberg table.
- Stability:
experimental