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-10-31T19:13:08.036Z") @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

    Constructors
    Modifier
    Constructor
    Description
    protected
    StreamEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    StreamEncryption(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Configure server-side encryption using an AWS owned key.
    (experimental) Configure server-side encryption using customer managed keys.
    customerManagedKey(IKey encryptionKey)
    (experimental) Configure server-side encryption using customer managed keys.
    (experimental) Optional KMS key used for customer managed encryption.
    (experimental) The type of server-side encryption for the Kinesis Firehose delivery stream.
    (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

      @Stability(Experimental) @NotNull public static StreamEncryption 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

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

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

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

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