AtRestEncryptionConfigurationProperty Struct
At-rest encryption configuration.
| 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_emrcontainers as emrcontainers } from 'aws-cdk-lib';
const atRestEncryptionConfigurationProperty: emrcontainers.CfnSecurityConfiguration.AtRestEncryptionConfigurationProperty = {
localDiskEncryptionConfiguration: {
awsKmsKeyId: 'awsKmsKeyId',
encryptionKeyProviderType: 'encryptionKeyProviderType',
},
s3EncryptionConfiguration: {
encryptionOption: 'encryptionOption',
kmsKeyId: 'kmsKeyId',
},
};
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_emrcontainers as emrcontainers
at_rest_encryption_configuration_property = emrcontainers.CfnSecurityConfiguration.AtRestEncryptionConfigurationProperty(
local_disk_encryption_configuration=emrcontainers.CfnSecurityConfiguration.LocalDiskEncryptionConfigurationProperty(
aws_kms_key_id="awsKmsKeyId",
encryption_key_provider_type="encryptionKeyProviderType"
),
s3_encryption_configuration=emrcontainers.CfnSecurityConfiguration.S3EncryptionConfigurationProperty(
encryption_option="encryptionOption",
kms_key_id="kmsKeyId"
)
)
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.emrcontainers.*;
AtRestEncryptionConfigurationProperty atRestEncryptionConfigurationProperty = AtRestEncryptionConfigurationProperty.builder()
.localDiskEncryptionConfiguration(LocalDiskEncryptionConfigurationProperty.builder()
.awsKmsKeyId("awsKmsKeyId")
.encryptionKeyProviderType("encryptionKeyProviderType")
.build())
.s3EncryptionConfiguration(S3EncryptionConfigurationProperty.builder()
.encryptionOption("encryptionOption")
.kmsKeyId("kmsKeyId")
.build())
.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.EMRContainers;
var atRestEncryptionConfigurationProperty = new AtRestEncryptionConfigurationProperty {
LocalDiskEncryptionConfiguration = new LocalDiskEncryptionConfigurationProperty {
AwsKmsKeyId = "awsKmsKeyId",
EncryptionKeyProviderType = "encryptionKeyProviderType"
},
S3EncryptionConfiguration = new S3EncryptionConfigurationProperty {
EncryptionOption = "encryptionOption",
KmsKeyId = "kmsKeyId"
}
};
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"
atRestEncryptionConfigurationProperty := &AtRestEncryptionConfigurationProperty{
LocalDiskEncryptionConfiguration: &LocalDiskEncryptionConfigurationProperty{
AwsKmsKeyId: jsii.String("awsKmsKeyId"),
EncryptionKeyProviderType: jsii.String("encryptionKeyProviderType"),
},
S3EncryptionConfiguration: &S3EncryptionConfigurationProperty{
EncryptionOption: jsii.String("encryptionOption"),
KmsKeyId: jsii.String("kmsKeyId"),
},
}
Properties
localDiskEncryptionConfigurationoptionalIResolvable | CfnSecurityConfiguration.local_disk_encryption_configurationoptionaltyping.Union[IResolvable, LocalDiskEncryptionConfigurationProperty]localDiskEncryptionConfigurationoptionalIResolvableLocalDiskEncryptionConfigurationoptionalIResolvableLocalDiskEncryptionConfigurationoptionalinterface{} #Local disk encryption configuration.
s3EncryptionConfigurationoptionalIResolvable | CfnSecurityConfiguration.s3_encryption_configurationoptionaltyping.Union[IResolvable, S3EncryptionConfigurationProperty]s3EncryptionConfigurationoptionalIResolvableS3EncryptionConfigurationoptionalIResolvableS3EncryptionConfigurationoptionalinterface{} #S3 encryption configuration.