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.109.0 (build c221850)", date="2025-03-19T18:01:45.145Z") @Stability(Deprecated) @Deprecated public abstract class StreamEncryption extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) 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();
 
  • Constructor Details

    • StreamEncryption

      protected StreamEncryption(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • StreamEncryption

      protected StreamEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
  • Method Details

    • awsOwnedKey

      @Stability(Deprecated) @Deprecated @NotNull public static StreamEncryption awsOwnedKey()
      Deprecated.
      (deprecated) Configure server-side encryption using an AWS owned key.
    • customerManagedKey

      @Stability(Deprecated) @Deprecated @NotNull public static StreamEncryption customerManagedKey(@Nullable IKey encryptionKey)
      Deprecated.
      (deprecated) Configure server-side encryption using customer managed keys.

      Parameters:
      encryptionKey - the KMS key for the delivery stream.
    • customerManagedKey

      @Stability(Deprecated) @Deprecated @NotNull public static StreamEncryption customerManagedKey()
      Deprecated.
      (deprecated) Configure server-side encryption using customer managed keys.
    • unencrypted

      @Stability(Deprecated) @Deprecated @NotNull public static StreamEncryption unencrypted()
      Deprecated.
      (deprecated) No server-side encryption is configured.
    • getType

      @Stability(Deprecated) @Deprecated @NotNull public StreamEncryptionType getType()
      Deprecated.
      (deprecated) The type of server-side encryption for the Kinesis Firehose delivery stream.
    • getEncryptionKey

      @Stability(Deprecated) @Deprecated @Nullable public IKey getEncryptionKey()
      Deprecated.
      (deprecated) Optional KMS key used for customer managed encryption.