@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:49.667Z") @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();
| 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
@Stability(value=Experimental) public static final S3EncryptionMode KMS
public 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.