Class StreamEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.StreamEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:08.280Z")
@Stability(Stable)
public abstract class StreamEncryption
extends software.amazon.jsii.JsiiObject
Represents server-side encryption for an Amazon 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
ConstructorsModifierConstructorDescriptionprotectedStreamEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedStreamEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamEncryptionConfigure server-side encryption using an AWS owned key.static StreamEncryptionConfigure server-side encryption using customer managed keys.static StreamEncryptioncustomerManagedKey(IKey encryptionKey) Configure server-side encryption using customer managed keys.Optional KMS key used for customer managed encryption.getType()The type of server-side encryption for the Amazon Firehose delivery stream.static StreamEncryptionNo 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Configure server-side encryption using an AWS owned key. -
customerManagedKey
@Stability(Stable) @NotNull public static StreamEncryption customerManagedKey(@Nullable IKey encryptionKey) Configure server-side encryption using customer managed keys.- Parameters:
encryptionKey- the KMS key for the delivery stream.
-
customerManagedKey
Configure server-side encryption using customer managed keys. -
unencrypted
No server-side encryption is configured. -
getType
The type of server-side encryption for the Amazon Firehose delivery stream. -
getEncryptionKey
Optional KMS key used for customer managed encryption.
-