Class StreamEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.alpha.StreamEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.705Z")
@Stability(Experimental)
public abstract class StreamEncryption
extends software.amazon.jsii.JsiiObject
(experimental) Represents server-side encryption for a Kinesis Firehose Delivery Stream.
Example:
IDestination destination; // SSE with an customer-managed key that is explicitly specified Key key; // SSE with an AWS-owned key // SSE with an AWS-owned key DeliveryStream.Builder.create(this, "Delivery Stream with AWS Owned Key") .encryption(StreamEncryption.awsOwnedKey()) .destination(destination) .build(); // SSE with an customer-managed key that is created automatically by the CDK // SSE with an customer-managed key that is created automatically by the CDK DeliveryStream.Builder.create(this, "Delivery Stream with Customer Managed Key") .encryption(StreamEncryption.customerManagedKey()) .destination(destination) .build(); DeliveryStream.Builder.create(this, "Delivery Stream with Customer Managed and Provided Key") .encryption(StreamEncryption.customerManagedKey(key)) .destination(destination) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
StreamEncryption
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
StreamEncryption
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamEncryption
(experimental) Configure server-side encryption using an AWS owned key.static StreamEncryption
(experimental) Configure server-side encryption using customer managed keys.static StreamEncryption
customerManagedKey
(IKey encryptionKey) (experimental) Configure server-side encryption using customer managed keys.(experimental) Optional KMS key used for customer managed encryption.getType()
(experimental) The type of server-side encryption for the Kinesis Firehose delivery stream.static StreamEncryption
(experimental) No server-side encryption is configured.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
StreamEncryption
protected StreamEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
StreamEncryption
protected StreamEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
awsOwnedKey
(experimental) Configure server-side encryption using an AWS owned key. -
customerManagedKey
@Stability(Experimental) @NotNull public static StreamEncryption customerManagedKey(@Nullable IKey encryptionKey) (experimental) Configure server-side encryption using customer managed keys.- Parameters:
encryptionKey
- the KMS key for the delivery stream.
-
customerManagedKey
(experimental) Configure server-side encryption using customer managed keys. -
unencrypted
(experimental) No server-side encryption is configured. -
getType
(experimental) The type of server-side encryption for the Kinesis Firehose delivery stream. -
getEncryptionKey
(experimental) Optional KMS key used for customer managed encryption.
-