Dqdl

class aws_cdk.aws_glue_alpha.Dqdl(*args: Any, **kwargs)

Bases: object

(experimental) The Data Quality Definition Language (DQDL) document for a DataQualityRuleset.

DQDL is an authored string that Glue parses and validates at deploy time. Build one from a raw DQDL string with {@link Dqdl.fromString}.

See:

https://docs.aws.amazon.com/glue/latest/dg/dqdl.html

Stability:

experimental

ExampleMetadata:

infused

Example:

glue.DataQualityRuleset(self, "MyRuleset",
    ruleset_name="my_ruleset",
    dqdl=glue.Dqdl.from_string("Rules = [ RowCount > 100, IsComplete "order_id" ]"),
    target_table=glue.DataQualityTargetTable("my_database", "my_table")
)

Static Methods

classmethod from_string(dqdl)

(experimental) Create a Dqdl from a raw DQDL string.

Parameters:

dqdl (str) – the DQDL document, e.g. Rules = [ RowCount > 100 ].

Stability:

experimental

Return type:

Dqdl