
software.amazon.awscdk.services.kinesis.StreamEncryption Maven / Gradle / Ivy
package software.amazon.awscdk.services.kinesis;
/**
* What kind of server-side encryption to apply to this stream.
*
* Example:
*
*
* Key key = new Key(this, "MyKey");
* Stream.Builder.create(this, "MyEncryptedStream")
* .encryption(StreamEncryption.KMS)
* .encryptionKey(key)
* .build();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.52.1 (build 5ccc8f6)", date = "2022-01-27T11:48:56.746Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.kinesis.$Module.class, fqn = "@aws-cdk/aws-kinesis.StreamEncryption")
public enum StreamEncryption {
/**
* Records in the stream are not encrypted.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
UNENCRYPTED,
/**
* Server-side encryption with a KMS key managed by the user.
*
* If encryptionKey
is specified, this key will be used, otherwise, one will be defined.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
KMS,
/**
* Server-side encryption with a master key managed by Amazon Kinesis.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
MANAGED,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy