enum StreamEncryption
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.Alpha.StreamEncryption |
Go | github.com/aws/aws-cdk-go/awscdkkinesisfirehosealpha/v2#StreamEncryption |
Java | software.amazon.awscdk.services.kinesisfirehose.alpha.StreamEncryption |
Python | aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption |
TypeScript (source) | @aws-cdk/aws-kinesisfirehose-alpha » StreamEncryption |
Options for server-side encryption of a delivery stream.
Example
declare const destination: firehose.IDestination;
// SSE with an AWS-owned key
new firehose.DeliveryStream(this, 'Delivery Stream AWS Owned', {
encryption: firehose.StreamEncryption.AWS_OWNED,
destinations: [destination],
});
// SSE with an customer-managed key that is created automatically by the CDK
new firehose.DeliveryStream(this, 'Delivery Stream Implicit Customer Managed', {
encryption: firehose.StreamEncryption.CUSTOMER_MANAGED,
destinations: [destination],
});
// SSE with an customer-managed key that is explicitly specified
declare const key: kms.Key;
new firehose.DeliveryStream(this, 'Delivery Stream Explicit Customer Managed', {
encryptionKey: key,
destinations: [destination],
});
Members
Name | Description |
---|---|
UNENCRYPTED | Data in the stream is stored unencrypted. |
CUSTOMER_MANAGED | Data in the stream is stored encrypted by a KMS key managed by the customer. |
AWS_OWNED | Data in the stream is stored encrypted by a KMS key owned by AWS and managed for use in multiple AWS accounts. |
UNENCRYPTED
Data in the stream is stored unencrypted.
CUSTOMER_MANAGED
Data in the stream is stored encrypted by a KMS key managed by the customer.
AWS_OWNED
Data in the stream is stored encrypted by a KMS key owned by AWS and managed for use in multiple AWS accounts.