Interface TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-08-06T18:14:48.681Z")
@Stability(Experimental)
public interface TableProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for creating a new S3 Table.
Example:
// Build a table Table sampleTable = Table.Builder.create(scope, "ExampleTable") .tableName("example_table") .namespace(namespace) .openTableFormat(OpenTableFormat.ICEBERG) .withoutMetadata(true) .build(); // Build a table with an Iceberg Schema Table sampleTableWithSchema = Table.Builder.create(scope, "ExampleSchemaTable") .tableName("example_table_with_schema") .namespace(namespace) .openTableFormat(OpenTableFormat.ICEBERG) .icebergMetadata(IcebergMetadataProperty.builder() .icebergSchema(IcebergSchemaProperty.builder() .schemaFieldList(List.of(SchemaFieldProperty.builder() .name("id") .type("int") .required(true) .build(), SchemaFieldProperty.builder() .name("name") .type("string") .build())) .build()) .build()) .compaction(CompactionProperty.builder() .status(Status.ENABLED) .targetFileSizeMb(128) .build()) .snapshotManagement(SnapshotManagementProperty.builder() .status(Status.ENABLED) .maxSnapshotAgeHours(48) .minSnapshotsToKeep(5) .build()) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forTableProps
static final class
An implementation forTableProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableProps.Builder
builder()
default CompactionProperty
(experimental) Settings governing the Compaction maintenance action.default IcebergMetadataProperty
(experimental) Contains details about the metadata for an Iceberg table.(experimental) The namespace under which this table is created.(experimental) Format of this table.default RemovalPolicy
(experimental) Controls what happens to this table it it stoped being managed by cloudformation.default SnapshotManagementProperty
(experimental) Contains details about the snapshot management settings for an Iceberg table.(experimental) Name of this table, unique within the namespace.default Boolean
(experimental) If true, indicates that you don't want to specify a schema for the table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespace
(experimental) The namespace under which this table is created. -
getOpenTableFormat
(experimental) Format of this table.Currently, the only supported value is OpenTableFormat.ICEBERG.
-
getTableName
(experimental) Name of this table, unique within the namespace. -
getCompaction
(experimental) Settings governing the Compaction maintenance action.Default: Amazon S3 selects the best compaction strategy based on your table sort order.
- See Also:
-
getIcebergMetadata
(experimental) Contains details about the metadata for an Iceberg table.Default: table is created without any metadata
-
getRemovalPolicy
(experimental) Controls what happens to this table it it stoped being managed by cloudformation.Default: RETAIN
-
getSnapshotManagement
(experimental) Contains details about the snapshot management settings for an Iceberg table.Default: enabled: MinimumSnapshots is 1 by default and MaximumSnapshotAge is 120 hours by default.
-
getWithoutMetadata
(experimental) If true, indicates that you don't want to specify a schema for the table.This property is mutually exclusive to 'IcebergMetadata'.
Default: false
-
builder
- Returns:
- a
TableProps.Builder
ofTableProps
-