CfnDataQualityRulesetPropsMixin

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

Bases: Mixin

The AWS::Glue::DataQualityRuleset resource specifies a data quality ruleset with DQDL rules applied to a specified AWS Glue table.

For more information, see AWS Glue Data Quality in the AWS Glue Developer Guide.

See:

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

CloudformationResource:

AWS::Glue::DataQualityRuleset

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

# tags: Any

cfn_data_quality_ruleset_props_mixin = glue_mixins.CfnDataQualityRulesetPropsMixin(glue_mixins.CfnDataQualityRulesetMixinProps(
    client_token="clientToken",
    description="description",
    name="name",
    ruleset="ruleset",
    tags=tags,
    target_table=glue_mixins.CfnDataQualityRulesetPropsMixin.DataQualityTargetTableProperty(
        database_name="databaseName",
        table_name="tableName"
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

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 = ['clientToken', 'description', 'name', 'ruleset', 'tags', 'targetTable']

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

DataQualityTargetTableProperty

class CfnDataQualityRulesetPropsMixin.DataQualityTargetTableProperty(*, database_name=None, table_name=None)

Bases: object

An object representing an AWS Glue table.

Parameters:
  • database_name (Optional[str]) – The name of the database where the AWS Glue table exists.

  • table_name (Optional[str]) – The name of the AWS Glue table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-dataqualityruleset-dataqualitytargettable.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

data_quality_target_table_property = glue_mixins.CfnDataQualityRulesetPropsMixin.DataQualityTargetTableProperty(
    database_name="databaseName",
    table_name="tableName"
)

Attributes

database_name

The name of the database where the AWS Glue table exists.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-dataqualityruleset-dataqualitytargettable.html#cfn-glue-dataqualityruleset-dataqualitytargettable-databasename

table_name

The name of the AWS Glue table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-dataqualityruleset-dataqualitytargettable.html#cfn-glue-dataqualityruleset-dataqualitytargettable-tablename