Skip to content
v2.278.0

LocalDiskEncryptionConfigurationProperty Struct ​

Local disk encryption configuration.

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 localDiskEncryptionConfigurationProperty: emrcontainers.CfnSecurityConfiguration.LocalDiskEncryptionConfigurationProperty = {
  awsKmsKeyId: 'awsKmsKeyId',
  encryptionKeyProviderType: 'encryptionKeyProviderType',
};
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

local_disk_encryption_configuration_property = emrcontainers.CfnSecurityConfiguration.LocalDiskEncryptionConfigurationProperty(
    aws_kms_key_id="awsKmsKeyId",
    encryption_key_provider_type="encryptionKeyProviderType"
)
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.*;

LocalDiskEncryptionConfigurationProperty localDiskEncryptionConfigurationProperty = LocalDiskEncryptionConfigurationProperty.builder()
        .awsKmsKeyId("awsKmsKeyId")
        .encryptionKeyProviderType("encryptionKeyProviderType")
        .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 localDiskEncryptionConfigurationProperty = new LocalDiskEncryptionConfigurationProperty {
    AwsKmsKeyId = "awsKmsKeyId",
    EncryptionKeyProviderType = "encryptionKeyProviderType"
};
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"

localDiskEncryptionConfigurationProperty := &LocalDiskEncryptionConfigurationProperty{
	AwsKmsKeyId: jsii.String("awsKmsKeyId"),
	EncryptionKeyProviderType: jsii.String("encryptionKeyProviderType"),
}

Properties ​

awsKmsKeyIdoptionalstringaws_kms_key_idoptionalstrawsKmsKeyIdoptionalStringAwsKmsKeyIdoptionalstringAwsKmsKeyIdoptional*string #
The AWS KMS key ID.
encryptionKeyProviderTypeoptionalstringencryption_key_provider_typeoptionalstrencryptionKeyProviderTypeoptionalStringEncryptionKeyProviderTypeoptionalstringEncryptionKeyProviderTypeoptional*string #
The encryption key provider type.