@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.633Z") @Stability(value=Experimental) public enum S3EncryptionMode extends Enum<S3EncryptionMode>
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();
https://docs.aws.amazon.com/glue/latest/webapi/API_S3Encryption.html#Glue-Type-S3Encryption-S3EncryptionMode| Enum Constant and Description |
|---|
KMS
(experimental) Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
|
S3_MANAGED
(experimental) Server side encryption (SSE) with an Amazon S3-managed key.
|
| Modifier and Type | Method and Description |
|---|---|
static S3EncryptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3EncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final S3EncryptionMode S3_MANAGED
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html@Stability(value=Experimental) public static final S3EncryptionMode KMS
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.htmlpublic static S3EncryptionMode[] values()
for (S3EncryptionMode c : S3EncryptionMode.values()) System.out.println(c);
public static S3EncryptionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.