Skip to content
v2.278.0

S3EncryptionConfigurationProperty Struct ​

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

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

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

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

Properties ​

encryptionOptionoptionalstringencryption_optionoptionalstrencryptionOptionoptionalStringEncryptionOptionoptionalstringEncryptionOptionoptional*string #
The S3 encryption option.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
The KMS key ID for encryption.