Interface S3TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TableBaseProps
- All Known Subinterfaces:
TableProps
- All Known Implementing Classes:
S3TableProps.Jsii$Proxy,TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.121Z")
@Stability(Experimental)
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("col1")
.type(Schema.STRING)
.build()))
.partitionKeys(List.of(Column.builder()
.name("year")
.type(Schema.SMALL_INT)
.build(), Column.builder()
.name("month")
.type(Schema.SMALL_INT)
.build()))
.dataFormat(DataFormat.JSON)
.enablePartitionFiltering(true)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forS3TablePropsstatic final classAn implementation forS3TableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic S3TableProps.Builderbuilder()default IBucket(experimental) S3 bucket in which to store data.default TableEncryption(experimental) The kind of encryption to secure the data with.default IKey(experimental) External KMS key to use for bucket encryption.default String(experimental) S3 prefix under which table objects are stored.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.glue.alpha.TableBaseProps
getColumns, getCompressed, getDatabase, getDataFormat, getDescription, getEnablePartitionFiltering, getParameters, getPartitionIndexes, getPartitionKeys, getStorageParameters, getStoredAsSubDirectories, getTableName
-
Method Details
-
getBucket
(experimental) S3 bucket in which to store data.Default: one is created for you
-
getEncryption
(experimental) The kind of encryption to secure the data with.You can only provide this option if you are not explicitly passing in a bucket.
If you choose
SSE-KMS, you can provide an un-managed KMS key withencryptionKey. If you chooseCSE-KMS, you must provide an un-managed KMS key withencryptionKey.Default: BucketEncryption.S3_MANAGED
-
getEncryptionKey
(experimental) External KMS key to use for bucket encryption.The
encryptionproperty must beSSE-KMSorCSE-KMS.Default: key is managed by KMS.
-
getS3Prefix
(experimental) S3 prefix under which table objects are stored.Default: - No prefix. The data will be stored under the root of the bucket.
-
builder
- Returns:
- a
S3TableProps.BuilderofS3TableProps
-