Skip to content
v2.278.0

EncryptionConfigurationProperty Struct ​

The EncryptionConfiguration property type specifies the encryption settings that Amazon Kinesis Data Firehose (Kinesis Data Firehose) uses when delivering data to Amazon Simple Storage Service (Amazon S3).

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
const encryptionConfigurationProperty: kinesisfirehose.CfnDeliveryStream.EncryptionConfigurationProperty = {
  kmsEncryptionConfig: {
    awskmsKeyArn: 'awskmsKeyArn',
  },
  noEncryptionConfig: 'noEncryptionConfig',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesisfirehose as kinesisfirehose

encryption_configuration_property = kinesisfirehose.CfnDeliveryStream.EncryptionConfigurationProperty(
    kms_encryption_config=kinesisfirehose.CfnDeliveryStream.KMSEncryptionConfigProperty(
        awskms_key_arn="awskmsKeyArn"
    ),
    no_encryption_config="noEncryptionConfig"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;

EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
        .kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
                .awskmsKeyArn("awskmsKeyArn")
                .build())
        .noEncryptionConfig("noEncryptionConfig")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;

var encryptionConfigurationProperty = new EncryptionConfigurationProperty {
    KmsEncryptionConfig = new KMSEncryptionConfigProperty {
        AwskmsKeyArn = "awskmsKeyArn"
    },
    NoEncryptionConfig = "noEncryptionConfig"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

encryptionConfigurationProperty := &EncryptionConfigurationProperty{
	KmsEncryptionConfig: &KMSEncryptionConfigProperty{
		AwskmsKeyArn: jsii.String("awskmsKeyArn"),
	},
	NoEncryptionConfig: jsii.String("noEncryptionConfig"),
}

Properties ​

kmsEncryptionConfigoptionalIResolvable | CfnDeliveryStream.KMSEncryptionConfigPropertykms_encryption_configoptionaltyping.Union[IResolvable, KMSEncryptionConfigProperty]kmsEncryptionConfigoptionalIResolvableKmsEncryptionConfigoptionalIResolvableKmsEncryptionConfigoptionalinterface{} #
The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data.
noEncryptionConfigoptionalstringno_encryption_configoptionalstrnoEncryptionConfigoptionalStringNoEncryptionConfigoptionalstringNoEncryptionConfigoptional*string #
Disables encryption.
notes

For valid values, see the NoEncryptionConfig content for the EncryptionConfiguration data type in the Amazon Kinesis Data Firehose API Reference .