# AtRestEncryptionConfigurationProperty

At-rest encryption configuration.

- Source: Generated at build time
- Type last changed: v2.237.0 · 2 Feb 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `localDiskEncryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityConfiguration.LocalDiskEncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_emrcontainers.CfnSecurityConfiguration.LocalDiskEncryptionConfigurationProperty.html) — Local disk encryption configuration.

- `s3EncryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityConfiguration.S3EncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_emrcontainers.CfnSecurityConfiguration.S3EncryptionConfigurationProperty.html) — S3 encryption configuration.
