CfnSecurityConfigurationProps Struct
Properties for defining a CfnSecurityConfiguration.
| Source |
|---|
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 cfnSecurityConfigurationProps: glue.CfnSecurityConfigurationProps = {
encryptionConfiguration: {
cloudWatchEncryption: {
cloudWatchEncryptionMode: 'cloudWatchEncryptionMode',
kmsKeyArn: 'kmsKeyArn',
},
jobBookmarksEncryption: {
jobBookmarksEncryptionMode: 'jobBookmarksEncryptionMode',
kmsKeyArn: 'kmsKeyArn',
},
s3Encryptions: [{
kmsKeyArn: 'kmsKeyArn',
s3EncryptionMode: 's3EncryptionMode',
}],
},
name: 'name',
};
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
cfn_security_configuration_props = glue.CfnSecurityConfigurationProps(
encryption_configuration=glue.CfnSecurityConfiguration.EncryptionConfigurationProperty(
cloud_watch_encryption=glue.CfnSecurityConfiguration.CloudWatchEncryptionProperty(
cloud_watch_encryption_mode="cloudWatchEncryptionMode",
kms_key_arn="kmsKeyArn"
),
job_bookmarks_encryption=glue.CfnSecurityConfiguration.JobBookmarksEncryptionProperty(
job_bookmarks_encryption_mode="jobBookmarksEncryptionMode",
kms_key_arn="kmsKeyArn"
),
s3_encryptions=[glue.CfnSecurityConfiguration.S3EncryptionProperty(
kms_key_arn="kmsKeyArn",
s3_encryption_mode="s3EncryptionMode"
)]
),
name="name"
)
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.*;
CfnSecurityConfigurationProps cfnSecurityConfigurationProps = CfnSecurityConfigurationProps.builder()
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.cloudWatchEncryption(CloudWatchEncryptionProperty.builder()
.cloudWatchEncryptionMode("cloudWatchEncryptionMode")
.kmsKeyArn("kmsKeyArn")
.build())
.jobBookmarksEncryption(JobBookmarksEncryptionProperty.builder()
.jobBookmarksEncryptionMode("jobBookmarksEncryptionMode")
.kmsKeyArn("kmsKeyArn")
.build())
.s3Encryptions(List.of(S3EncryptionProperty.builder()
.kmsKeyArn("kmsKeyArn")
.s3EncryptionMode("s3EncryptionMode")
.build()))
.build())
.name("name")
.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 cfnSecurityConfigurationProps = new CfnSecurityConfigurationProps {
EncryptionConfiguration = new EncryptionConfigurationProperty {
CloudWatchEncryption = new CloudWatchEncryptionProperty {
CloudWatchEncryptionMode = "cloudWatchEncryptionMode",
KmsKeyArn = "kmsKeyArn"
},
JobBookmarksEncryption = new JobBookmarksEncryptionProperty {
JobBookmarksEncryptionMode = "jobBookmarksEncryptionMode",
KmsKeyArn = "kmsKeyArn"
},
S3Encryptions = new [] { new S3EncryptionProperty {
KmsKeyArn = "kmsKeyArn",
S3EncryptionMode = "s3EncryptionMode"
} }
},
Name = "name"
};
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"
cfnSecurityConfigurationProps := &CfnSecurityConfigurationProps{
EncryptionConfiguration: &EncryptionConfigurationProperty{
CloudWatchEncryption: &CloudWatchEncryptionProperty{
CloudWatchEncryptionMode: jsii.String("cloudWatchEncryptionMode"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
JobBookmarksEncryption: &JobBookmarksEncryptionProperty{
JobBookmarksEncryptionMode: jsii.String("jobBookmarksEncryptionMode"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
S3Encryptions: []interface{}{
&S3EncryptionProperty{
KmsKeyArn: jsii.String("kmsKeyArn"),
S3EncryptionMode: jsii.String("s3EncryptionMode"),
},
},
},
Name: jsii.String("name"),
}
Properties
encryptionConfigurationIResolvable | CfnSecurityConfiguration.encryption_configurationtyping.Union[IResolvable, EncryptionConfigurationProperty]encryptionConfigurationIResolvableEncryptionConfigurationIResolvableEncryptionConfigurationinterface{} required #The encryption configuration associated with this security configuration.
The name of the security configuration.