Interface S3TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TableBaseProps
- All Known Implementing Classes:
S3TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:05.085Z")
@Stability(Stable)
public interface S3TableProps
extends software.amazon.jsii.JsiiSerializable, TableBaseProps
Example:
Database myDatabase;
S3Table.Builder.create(this, "MyTable")
.database(myDatabase)
.columns(List.of(Column.builder()
.name("data")
.type(Schema.STRING)
.build()))
.partitionKeys(List.of(Column.builder()
.name("date")
.type(Schema.STRING)
.build()))
.dataFormat(DataFormat.JSON)
.partitionProjection(Map.of(
"date", PartitionProjectionConfiguration.date(DatePartitionProjectionConfigurationProps.builder()
.min("NOW-3YEARS")
.max("NOW")
.format("yyyy-MM-dd")
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forS3TablePropsstatic final classAn implementation forS3TableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic S3TableProps.Builderbuilder()default TableClientSideEncryptionClient-side encryption (CSE-KMS) for the table's data.default StringS3 prefix under which table objects are stored.default S3TableStorageWhere the table's data is stored: a bucket created and managed by the table, or an existing bucket you provide.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.glue.TableBaseProps
getColumns, getCompressed, getDatabase, getDataFormat, getDescription, getEnablePartitionFiltering, getHasEncryptedData, getParameters, getPartitionIndexes, getPartitionKeys, getPartitionProjection, getStorageParameters, getStoredAsSubDirectories, getTableName
-
Method Details
-
getClientSideEncryption
Client-side encryption (CSE-KMS) for the table's data.Independent of the bucket's server-side encryption, and valid whether the bucket is managed or provided.
Default: - no client-side encryption
-
getS3Prefix
S3 prefix under which table objects are stored.When the table shares a bucket with other tables or consumers, set this so that the
grant*methods scope S3 access to this table's data. Without a prefix, those grants cover the entire bucket.Default: - No prefix. The data will be stored under the root of the bucket.
-
getStorage
Where the table's data is stored: a bucket created and managed by the table, or an existing bucket you provide.Default: - a managed bucket with S3-managed (SSE-S3) encryption
-
builder
- Returns:
- a
S3TableProps.BuilderofS3TableProps
-