Class StreamEncryption
(experimental) Options for server-side encryption of a delivery stream.
Inheritance
System.Object
StreamEncryption
Namespace: Amazon.CDK.AWS.KinesisFirehose.Alpha
Assembly: Amazon.CDK.AWS.KinesisFirehose.Alpha.dll
Syntax (csharp)
public sealed class StreamEncryption : Enum
Syntax (vb)
Public NotInheritable Class StreamEncryption
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
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
new DeliveryStream(this, "Delivery Stream AWS Owned", new DeliveryStreamProps {
Encryption = StreamEncryption.AWS_OWNED,
Destinations = new [] { destination }
});
// 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
new DeliveryStream(this, "Delivery Stream Implicit Customer Managed", new DeliveryStreamProps {
Encryption = StreamEncryption.CUSTOMER_MANAGED,
Destinations = new [] { destination }
});
new DeliveryStream(this, "Delivery Stream Explicit Customer Managed", new DeliveryStreamProps {
EncryptionKey = key,
Destinations = new [] { destination }
});
Synopsis
Fields
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. |
CUSTOMER_MANAGED | (experimental) Data in the stream is stored encrypted by a KMS key managed by the customer. |
UNENCRYPTED | (experimental) Data in the stream is stored unencrypted. |
value__ |
Fields
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.
public const StreamEncryption AWS_OWNED
Field Value
Type | Description |
---|---|
StreamEncryption |
Remarks
Stability: Experimental
CUSTOMER_MANAGED
(experimental) Data in the stream is stored encrypted by a KMS key managed by the customer.
public const StreamEncryption CUSTOMER_MANAGED
Field Value
Type | Description |
---|---|
StreamEncryption |
Remarks
Stability: Experimental
UNENCRYPTED
(experimental) Data in the stream is stored unencrypted.
public const StreamEncryption UNENCRYPTED
Field Value
Type | Description |
---|---|
StreamEncryption |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |