Interface IS3TableProps
Inherited Members
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public interface IS3TableProps : ITableBaseProps
Syntax (vb)
Public Interface IS3TableProps
Inherits ITableBaseProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Database myDatabase;
new S3Table(this, "MyTable", new S3TableProps {
Database = myDatabase,
Columns = new [] { new Column {
Name = "col1",
Type = Schema.STRING
} },
PartitionKeys = new [] { new Column {
Name = "year",
Type = Schema.SMALL_INT
}, new Column {
Name = "month",
Type = Schema.SMALL_INT
} },
DataFormat = DataFormat.JSON,
EnablePartitionFiltering = true
});
Synopsis
Properties
Bucket | (experimental) S3 bucket in which to store data. |
Encryption | (experimental) The kind of encryption to secure the data with. |
Encryption |
(experimental) External KMS key to use for bucket encryption. |
S3Prefix | (experimental) S3 prefix under which table objects are stored. |
Properties
Bucket
(experimental) S3 bucket in which to store data.
virtual IBucket Bucket { get; }
Property Value
Remarks
Default: one is created for you
Stability: Experimental
Encryption
(experimental) The kind of encryption to secure the data with.
virtual Nullable<TableEncryption> Encryption { get; }
Property Value
System.
Remarks
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 with encryptionKey
.
If you choose CSE-KMS
, you must provide an un-managed KMS key with encryptionKey
.
Default: BucketEncryption.S3_MANAGED
Stability: Experimental
EncryptionKey
(experimental) External KMS key to use for bucket encryption.
virtual IKey EncryptionKey { get; }
Property Value
Remarks
The encryption
property must be SSE-KMS
or CSE-KMS
.
Default: key is managed by KMS.
Stability: Experimental
S3Prefix
(experimental) S3 prefix under which table objects are stored.
virtual string S3Prefix { get; }
Property Value
System.
Remarks
Default: - No prefix. The data will be stored under the root of the bucket.
Stability: Experimental