java.lang.Object
java.lang.Enum<StreamEncryption>
software.amazon.awscdk.services.kinesisfirehose.alpha.StreamEncryption
All Implemented Interfaces:
Serializable, Comparable<StreamEncryption>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.387Z") @Stability(Experimental) public enum StreamEncryption extends Enum<StreamEncryption>
(experimental) Options for server-side encryption of a 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 AWS Owned")
         .encryption(StreamEncryption.AWS_OWNED)
         .destinations(List.of(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 Implicit Customer Managed")
         .encryption(StreamEncryption.CUSTOMER_MANAGED)
         .destinations(List.of(destination))
         .build();
 DeliveryStream.Builder.create(this, "Delivery Stream Explicit Customer Managed")
         .encryptionKey(key)
         .destinations(List.of(destination))
         .build();
 
  • Enum Constant Details

    • UNENCRYPTED

      @Stability(Experimental) public static final StreamEncryption UNENCRYPTED
      (experimental) Data in the stream is stored unencrypted.
    • CUSTOMER_MANAGED

      @Stability(Experimental) public static final StreamEncryption CUSTOMER_MANAGED
      (experimental) Data in the stream is stored encrypted by a KMS key managed by the customer.
    • AWS_OWNED

      @Stability(Experimental) public static final StreamEncryption AWS_OWNED
      (experimental) Data in the stream is stored encrypted by a KMS key owned by AWS and managed for use in multiple AWS accounts.
  • Method Details

    • values

      public static StreamEncryption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StreamEncryption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null