# S3EncryptionConfigurationProperty

S3 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 s3EncryptionConfigurationProperty: emrcontainers.CfnSecurityConfiguration.S3EncryptionConfigurationProperty = {
  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

s3_encryption_configuration_property = 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.*;

S3EncryptionConfigurationProperty s3EncryptionConfigurationProperty = S3EncryptionConfigurationProperty.builder()
        .encryptionOption("encryptionOption")
        .kmsKeyId("kmsKeyId")
        .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 s3EncryptionConfigurationProperty = 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"

s3EncryptionConfigurationProperty := &S3EncryptionConfigurationProperty{
	EncryptionOption: jsii.String("encryptionOption"),
	KmsKeyId: jsii.String("kmsKeyId"),
}
```

## Properties

- `encryptionOption`: string — The S3 encryption option.

- `kmsKeyId`: string — The KMS key ID for encryption.
