@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:26.227Z") @Stability(value=Experimental) public enum BucketEncryption extends Enum<BucketEncryption>
| Enum Constant and Description |
|---|
KMS
(experimental) Server-side encryption with a KMS key managed by the user.
|
KMS_MANAGED
(experimental) Server-side KMS encryption with a master key managed by KMS.
|
S3_MANAGED
(experimental) Server-side encryption with a master key managed by S3.
|
UNENCRYPTED
(experimental) Objects in the bucket are not encrypted.
|
| Modifier and Type | Method and Description |
|---|---|
static BucketEncryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketEncryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final BucketEncryption UNENCRYPTED
@Stability(value=Experimental) public static final BucketEncryption KMS_MANAGED
@Stability(value=Experimental) public static final BucketEncryption S3_MANAGED
@Stability(value=Experimental) public static final BucketEncryption KMS
If encryptionKey is specified, this key will be used, otherwise, one will be defined.
public static BucketEncryption[] values()
for (BucketEncryption c : BucketEncryption.values()) System.out.println(c);
public static BucketEncryption 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 © 2021. All rights reserved.