CloudWatchEncryption

class aws_cdk.aws_glue_alpha.CloudWatchEncryption(*, mode, kms_key=None)

Bases: object

(experimental) CloudWatch Logs encryption configuration.

Parameters:
  • mode (CloudWatchEncryptionMode) – (experimental) Encryption mode.

  • kms_key (Optional[IKey]) – (experimental) The KMS key to be used to encrypt the data. Default: A key will be created if one is not provided.

Stability:

experimental

ExampleMetadata:

infused

Example:

glue.SecurityConfiguration(self, "MySecurityConfiguration",
    cloud_watch_encryption=glue.CloudWatchEncryption(
        mode=glue.CloudWatchEncryptionMode.KMS
    ),
    job_bookmarks_encryption=glue.JobBookmarksEncryption(
        mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS
    ),
    s3_encryption=glue.S3Encryption(
        mode=glue.S3EncryptionMode.KMS
    )
)

Attributes

kms_key

(experimental) The KMS key to be used to encrypt the data.

Default:

A key will be created if one is not provided.

Stability:

experimental

mode

(experimental) Encryption mode.

Stability:

experimental