Skip to content
v2.278.0

CloudWatchEncryptionProperty Struct ​

Specifies how Amazon CloudWatch data should be encrypted.

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 cloudWatchEncryptionProperty: glue.CfnSecurityConfiguration.CloudWatchEncryptionProperty = {
  cloudWatchEncryptionMode: 'cloudWatchEncryptionMode',
  kmsKeyArn: 'kmsKeyArn',
};
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

cloud_watch_encryption_property = glue.CfnSecurityConfiguration.CloudWatchEncryptionProperty(
    cloud_watch_encryption_mode="cloudWatchEncryptionMode",
    kms_key_arn="kmsKeyArn"
)
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.*;

CloudWatchEncryptionProperty cloudWatchEncryptionProperty = CloudWatchEncryptionProperty.builder()
        .cloudWatchEncryptionMode("cloudWatchEncryptionMode")
        .kmsKeyArn("kmsKeyArn")
        .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 cloudWatchEncryptionProperty = new CloudWatchEncryptionProperty {
    CloudWatchEncryptionMode = "cloudWatchEncryptionMode",
    KmsKeyArn = "kmsKeyArn"
};
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"

cloudWatchEncryptionProperty := &CloudWatchEncryptionProperty{
	CloudWatchEncryptionMode: jsii.String("cloudWatchEncryptionMode"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
}

Properties ​

cloudWatchEncryptionModeoptionalstringcloud_watch_encryption_modeoptionalstrcloudWatchEncryptionModeoptionalStringCloudWatchEncryptionModeoptionalstringCloudWatchEncryptionModeoptional*string #
The encryption mode to use for CloudWatch data.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.