@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.734Z") @Stability(value=Experimental) public interface S3Encryption extends software.amazon.jsii.JsiiSerializable
Example:
SecurityConfiguration.Builder.create(this, "MySecurityConfiguration")
.securityConfigurationName("name")
.cloudWatchEncryption(CloudWatchEncryption.builder()
.mode(CloudWatchEncryptionMode.KMS)
.build())
.jobBookmarksEncryption(JobBookmarksEncryption.builder()
.mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)
.build())
.s3Encryption(S3Encryption.builder()
.mode(S3EncryptionMode.KMS)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3Encryption.Builder
A builder for
S3Encryption |
static class |
S3Encryption.Jsii$Proxy
An implementation for
S3Encryption |
| Modifier and Type | Method and Description |
|---|---|
static S3Encryption.Builder |
builder() |
default IKey |
getKmsKey()
(experimental) The KMS key to be used to encrypt the data.
|
S3EncryptionMode |
getMode()
(experimental) Encryption mode.
|
@Stability(value=Experimental) @NotNull S3EncryptionMode getMode()
@Stability(value=Experimental) @Nullable default IKey getKmsKey()
Default: no kms key if mode = S3_MANAGED. A key will be created if one is not provided and mode = KMS.
@Stability(value=Experimental) static S3Encryption.Builder builder()
S3Encryption.Builder of S3EncryptionCopyright © 2022. All rights reserved.