DataQualityRulesetProps Struct
Construction properties for DataQualityRuleset.
Example
ts
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
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The description of the ruleset.
Default: no description
The DQDL document defining the ruleset's data quality rules.
Build it with Dqdl.fromString(...).
removalPolicyoptionalRemovalPolicyremoval_policyoptionalRemovalPolicyremovalPolicyoptionalRemovalPolicyRemovalPolicyoptionalRemovalPolicyRemovalPolicyoptionalRemovalPolicy#Policy to apply when the ruleset is removed from the stack.
Default: resource will be destroyed
The name of the ruleset.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#Key-Value pairs that define tags for the ruleset.
Default: empty tags
targetTableDataQualityTargetTabletarget_tableDataQualityTargetTabletargetTableDataQualityTargetTableTargetTableDataQualityTargetTableTargetTableDataQualityTargetTablerequired#The target table of the ruleset.