interface DataQualityRulesetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.DataQualityRulesetProps |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#DataQualityRulesetProps |
Java | software.amazon.awscdk.services.glue.alpha.DataQualityRulesetProps |
Python | aws_cdk.aws_glue_alpha.DataQualityRulesetProps |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป DataQualityRulesetProps |
Construction properties for DataQualityRuleset.
Example
declare const database: glue.IDatabase;
new glue.DataQualityRuleset(this, 'MyRuleset', {
rulesetName: 'my_ruleset',
dqdl: glue.Dqdl.fromString('Rules = [ RowCount > 100, IsComplete "order_id" ]'),
targetTable: glue.DataQualityTargetTable.fromTableName(database, 'my_table'),
});
Properties
| Name | Type | Description |
|---|---|---|
| dqdl | Dqdl | The DQDL document defining the ruleset's data quality rules. |
| ruleset | string | The name of the ruleset. |
| target | Data | The target table of the ruleset. |
| description? | string | The description of the ruleset. |
| removal | Removal | Policy to apply when the ruleset is removed from the stack. |
| tags? | { [string]: string } | Key-Value pairs that define tags for the ruleset. |
dqdl
Type:
Dqdl
The DQDL document defining the ruleset's data quality rules.
Build it with Dqdl.fromString(...).
rulesetName
Type:
string
The name of the ruleset.
targetTable
Type:
Data
The target table of the ruleset.
description?
Type:
string
(optional)
The description of the ruleset.
removalPolicy?
Type:
Removal
(optional, default: resource will be destroyed)
Policy to apply when the ruleset is removed from the stack.
tags?
Type:
{ [string]: string }
(optional, default: empty tags)
Key-Value pairs that define tags for the ruleset.

.NET
Go
Java
Python
TypeScript (