ManagedStorageEncryptionConfigurationProperty Struct
Indicates the encryption configuration for Athena Managed Storage.
If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key
| Source | |
|---|---|
| Type last changed |
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 managedStorageEncryptionConfigurationProperty: athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty = {
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
managed_storage_encryption_configuration_property = athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
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.*;
ManagedStorageEncryptionConfigurationProperty managedStorageEncryptionConfigurationProperty = ManagedStorageEncryptionConfigurationProperty.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 managedStorageEncryptionConfigurationProperty = new ManagedStorageEncryptionConfigurationProperty {
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"
managedStorageEncryptionConfigurationProperty := &ManagedStorageEncryptionConfigurationProperty{
KmsKey: jsii.String("kmsKey"),
}
Properties
kmsKeyoptionalstringkms_keyoptionalstrkmsKeyoptionalStringKmsKeyoptionalstringKmsKeyoptional*string #For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.