Skip to content
v2.278.0

CustomerContentEncryptionConfigurationProperty Struct ​

Specifies the customer managed KMS key that is used to encrypt the user's data stores in Athena.

When an AWS managed key is used, this value is null. This setting does not apply to Athena SQL workgroups.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const customerContentEncryptionConfigurationProperty: athena.CfnWorkGroup.CustomerContentEncryptionConfigurationProperty = {
  kmsKey: 'kmsKey',
};
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_athena as athena

customer_content_encryption_configuration_property = athena.CfnWorkGroup.CustomerContentEncryptionConfigurationProperty(
    kms_key="kmsKey"
)
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.athena.*;

CustomerContentEncryptionConfigurationProperty customerContentEncryptionConfigurationProperty = CustomerContentEncryptionConfigurationProperty.builder()
        .kmsKey("kmsKey")
        .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.Athena;

var customerContentEncryptionConfigurationProperty = new CustomerContentEncryptionConfigurationProperty {
    KmsKey = "kmsKey"
};
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"

customerContentEncryptionConfigurationProperty := &CustomerContentEncryptionConfigurationProperty{
	KmsKey: jsii.String("kmsKey"),
}

Properties ​

kmsKeystringkms_keystrkmsKeyStringKmsKeystringKmsKey*string required #
The customer managed KMS key that is used to encrypt the user's data stores in Athena.