@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.197Z") @Stability(value=Stable) public enum StreamEncryption extends Enum<StreamEncryption>
Example:
Key key = new Key(this, "MyKey");
Stream.Builder.create(this, "MyEncryptedStream")
.encryption(StreamEncryption.KMS)
.encryptionKey(key)
.build();
| Enum Constant and Description |
|---|
KMS
Server-side encryption with a KMS key managed by the user.
|
MANAGED
Server-side encryption with a master key managed by Amazon Kinesis.
|
UNENCRYPTED
Records in the stream are not encrypted.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamEncryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamEncryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final StreamEncryption UNENCRYPTED
@Stability(value=Stable) public static final StreamEncryption KMS
If encryptionKey is specified, this key will be used, otherwise, one will be defined.
@Stability(value=Stable) public static final StreamEncryption MANAGED
public static StreamEncryption[] values()
for (StreamEncryption c : StreamEncryption.values()) System.out.println(c);
public static StreamEncryption 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.