S3EncryptionProperty Struct
Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
| 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_glue as glue } from 'aws-cdk-lib';
const s3EncryptionProperty: glue.CfnSecurityConfiguration.S3EncryptionProperty = {
kmsKeyArn: 'kmsKeyArn',
s3EncryptionMode: 's3EncryptionMode',
};
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_glue as glue
s3_encryption_property = glue.CfnSecurityConfiguration.S3EncryptionProperty(
kms_key_arn="kmsKeyArn",
s3_encryption_mode="s3EncryptionMode"
)
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.glue.*;
S3EncryptionProperty s3EncryptionProperty = S3EncryptionProperty.builder()
.kmsKeyArn("kmsKeyArn")
.s3EncryptionMode("s3EncryptionMode")
.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.Glue;
var s3EncryptionProperty = new S3EncryptionProperty {
KmsKeyArn = "kmsKeyArn",
S3EncryptionMode = "s3EncryptionMode"
};
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"
s3EncryptionProperty := &S3EncryptionProperty{
KmsKeyArn: jsii.String("kmsKeyArn"),
S3EncryptionMode: jsii.String("s3EncryptionMode"),
}
Properties
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
s3EncryptionModeoptionalstrings3_encryption_modeoptionalstrs3EncryptionModeoptionalStringS3EncryptionModeoptionalstringS3EncryptionModeoptional*string #The encryption mode to use for Amazon S3 data.