Class StreamEncryption
What kind of server-side encryption to apply to this stream.
Inheritance
System.Object
StreamEncryption
Namespace: Amazon.CDK.AWS.Kinesis
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class StreamEncryption : Enum
Syntax (vb)
Public NotInheritable Class StreamEncryption
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var key = new Key(this, "MyKey");
new Stream(this, "MyEncryptedStream", new StreamProps {
Encryption = StreamEncryption.KMS,
EncryptionKey = key
});
Synopsis
Fields
KMS | Server-side encryption with a KMS key managed by the user. |
MANAGED | Server-side encryption with a master key managed by Amazon Kinesis. |
UNENCRYPTED | Records in the stream are not encrypted. |
value__ |
Fields
KMS
Server-side encryption with a KMS key managed by the user.
public const StreamEncryption KMS
Field Value
Type | Description |
---|---|
StreamEncryption |
Remarks
If encryptionKey
is specified, this key will be used, otherwise, one will be defined.
MANAGED
Server-side encryption with a master key managed by Amazon Kinesis.
public const StreamEncryption MANAGED
Field Value
Type | Description |
---|---|
StreamEncryption |
UNENCRYPTED
Records in the stream are not encrypted.
public const StreamEncryption UNENCRYPTED
Field Value
Type | Description |
---|---|
StreamEncryption |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |