# DataQualityRulesetProps

Construction properties for `DataQualityRuleset`.

Extends: DataQualityRulesetProps
Used as props by: DataQualityRuleset

- Source: [`aws-glue/lib/data-quality-ruleset.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-glue/lib/data-quality-ruleset.ts#L99)
- Type last changed: v2.270.0 · 17 Sep 2026

## 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

- `description`: string — The description of the ruleset.

  **Default:** no description

- `dqdl`: [Dqdl](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.Dqdl.html) (required) — The DQDL document defining the ruleset's data quality rules.

  Build it with `Dqdl.fromString(...)`.

- `removalPolicy`: [RemovalPolicy](/cdk/api/v2/docs/aws-cdk-lib.RemovalPolicy.html) — Policy to apply when the ruleset is removed from the stack.

  **Default:** resource will be destroyed

- `rulesetName`: string (required) — The name of the ruleset.

- `tags`: { [key: string]: string } — Key-Value pairs that define tags for the ruleset.

  **Default:** empty tags

- `targetTable`: [DataQualityTargetTable](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.DataQualityTargetTable.html) (required) — The target table of the ruleset.
