CfnDataQualityRulesetPropsMixin
- class aws_cdk.mixins_preview.aws_glue.mixins.CfnDataQualityRulesetPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::Glue::DataQualityRulesetresource 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:
- 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:
props (
Union[CfnDataQualityRulesetMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
DataQualityTargetTableProperty
- class CfnDataQualityRulesetPropsMixin.DataQualityTargetTableProperty(*, database_name=None, table_name=None)
Bases:
objectAn 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:
- 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.
- table_name
The name of the AWS Glue table.