class Dqdl
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.Dqdl |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Dqdl |
Java | software.amazon.awscdk.services.glue.alpha.Dqdl |
Python | aws_cdk.aws_glue_alpha.Dqdl |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป Dqdl |
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 also: https://docs.aws.amazon.com/glue/latest/dg/dqdl.html
Example
new glue.DataQualityRuleset(this, 'MyRuleset', {
rulesetName: 'my_ruleset',
dqdl: glue.Dqdl.fromString('Rules = [ RowCount > 100, IsComplete "order_id" ]'),
targetTable: new glue.DataQualityTargetTable('my_database', 'my_table'),
});
Methods
| Name | Description |
|---|---|
| static from | Create a Dqdl from a raw DQDL string. |
static fromString(dqdl)
public static fromString(dqdl: string): Dqdl
Parameters
- dqdl
stringโ the DQDL document, e.g.Rules = [ RowCount > 100 ].
Returns
Create a Dqdl from a raw DQDL string.

.NET
Go
Java
Python
TypeScript (