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.104.0 (build e79254c)",
date="2024-12-17T21:37:41.446Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3TableProps
static final class
An implementation forS3TableProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3TableProps.Builder
builder()
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$toJson
Methods 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
encryption
property must beSSE-KMS
orCSE-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.Builder
ofS3TableProps
-