CfnSecurityConfigurationPropsMixin

class aws_cdk.mixins_preview.aws_glue.mixins.CfnSecurityConfigurationPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a new security configuration.

A security configuration is a set of security properties that can be used by AWS Glue . You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue , see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-securityconfiguration.html

CloudformationResource:

AWS::Glue::SecurityConfiguration

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

cfn_security_configuration_props_mixin = glue_mixins.CfnSecurityConfigurationPropsMixin(glue_mixins.CfnSecurityConfigurationMixinProps(
    encryption_configuration=glue_mixins.CfnSecurityConfigurationPropsMixin.EncryptionConfigurationProperty(
        cloud_watch_encryption=glue_mixins.CfnSecurityConfigurationPropsMixin.CloudWatchEncryptionProperty(
            cloud_watch_encryption_mode="cloudWatchEncryptionMode",
            kms_key_arn="kmsKeyArn"
        ),
        job_bookmarks_encryption=glue_mixins.CfnSecurityConfigurationPropsMixin.JobBookmarksEncryptionProperty(
            job_bookmarks_encryption_mode="jobBookmarksEncryptionMode",
            kms_key_arn="kmsKeyArn"
        ),
        s3_encryptions=[glue_mixins.CfnSecurityConfigurationPropsMixin.S3EncryptionProperty(
            kms_key_arn="kmsKeyArn",
            s3_encryption_mode="s3EncryptionMode"
        )]
    ),
    name="name"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Glue::SecurityConfiguration.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['encryptionConfiguration', 'name']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

CloudWatchEncryptionProperty

class CfnSecurityConfigurationPropsMixin.CloudWatchEncryptionProperty(*, cloud_watch_encryption_mode=None, kms_key_arn=None)

Bases: object

Specifies how Amazon CloudWatch data should be encrypted.

Parameters:
  • cloud_watch_encryption_mode (Optional[str]) – The encryption mode to use for CloudWatch data.

  • kms_key_arn (Optional[str]) – The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

cloud_watch_encryption_property = glue_mixins.CfnSecurityConfigurationPropsMixin.CloudWatchEncryptionProperty(
    cloud_watch_encryption_mode="cloudWatchEncryptionMode",
    kms_key_arn="kmsKeyArn"
)

Attributes

cloud_watch_encryption_mode

The encryption mode to use for CloudWatch data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html#cfn-glue-securityconfiguration-cloudwatchencryption-cloudwatchencryptionmode

kms_key_arn

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html#cfn-glue-securityconfiguration-cloudwatchencryption-kmskeyarn

EncryptionConfigurationProperty

class CfnSecurityConfigurationPropsMixin.EncryptionConfigurationProperty(*, cloud_watch_encryption=None, job_bookmarks_encryption=None, s3_encryptions=None)

Bases: object

Specifies an encryption configuration.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

encryption_configuration_property = glue_mixins.CfnSecurityConfigurationPropsMixin.EncryptionConfigurationProperty(
    cloud_watch_encryption=glue_mixins.CfnSecurityConfigurationPropsMixin.CloudWatchEncryptionProperty(
        cloud_watch_encryption_mode="cloudWatchEncryptionMode",
        kms_key_arn="kmsKeyArn"
    ),
    job_bookmarks_encryption=glue_mixins.CfnSecurityConfigurationPropsMixin.JobBookmarksEncryptionProperty(
        job_bookmarks_encryption_mode="jobBookmarksEncryptionMode",
        kms_key_arn="kmsKeyArn"
    ),
    s3_encryptions=[glue_mixins.CfnSecurityConfigurationPropsMixin.S3EncryptionProperty(
        kms_key_arn="kmsKeyArn",
        s3_encryption_mode="s3EncryptionMode"
    )]
)

Attributes

cloud_watch_encryption

The encryption configuration for Amazon CloudWatch.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-cloudwatchencryption

job_bookmarks_encryption

The encryption configuration for job bookmarks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-jobbookmarksencryption

s3_encryptions

The encyption configuration for Amazon Simple Storage Service (Amazon S3) data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-s3encryptions

JobBookmarksEncryptionProperty

class CfnSecurityConfigurationPropsMixin.JobBookmarksEncryptionProperty(*, job_bookmarks_encryption_mode=None, kms_key_arn=None)

Bases: object

Specifies how job bookmark data should be encrypted.

Parameters:
  • job_bookmarks_encryption_mode (Optional[str]) – The encryption mode to use for job bookmarks data.

  • kms_key_arn (Optional[str]) – The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

job_bookmarks_encryption_property = glue_mixins.CfnSecurityConfigurationPropsMixin.JobBookmarksEncryptionProperty(
    job_bookmarks_encryption_mode="jobBookmarksEncryptionMode",
    kms_key_arn="kmsKeyArn"
)

Attributes

job_bookmarks_encryption_mode

The encryption mode to use for job bookmarks data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html#cfn-glue-securityconfiguration-jobbookmarksencryption-jobbookmarksencryptionmode

kms_key_arn

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html#cfn-glue-securityconfiguration-jobbookmarksencryption-kmskeyarn

S3EncryptionProperty

class CfnSecurityConfigurationPropsMixin.S3EncryptionProperty(*, kms_key_arn=None, s3_encryption_mode=None)

Bases: object

Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.

Parameters:
  • kms_key_arn (Optional[str]) – The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

  • s3_encryption_mode (Optional[str]) – The encryption mode to use for Amazon S3 data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

s3_encryption_property = glue_mixins.CfnSecurityConfigurationPropsMixin.S3EncryptionProperty(
    kms_key_arn="kmsKeyArn",
    s3_encryption_mode="s3EncryptionMode"
)

Attributes

kms_key_arn

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html#cfn-glue-securityconfiguration-s3encryption-kmskeyarn

s3_encryption_mode

The encryption mode to use for Amazon S3 data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html#cfn-glue-securityconfiguration-s3encryption-s3encryptionmode