class DataQualityTargetTable
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.DataQualityTargetTable |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#DataQualityTargetTable |
Java | software.amazon.awscdk.services.glue.alpha.DataQualityTargetTable |
Python | aws_cdk.aws_glue_alpha.DataQualityTargetTable |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป DataQualityTargetTable |
The Glue table a DataQualityRuleset evaluates.
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 |
|---|---|---|
| database | string | The database name of the target table. |
| table | string | The table name of the target table. |
databaseName
Type:
string
The database name of the target table.
tableName
Type:
string
The table name of the target table.
Methods
| Name | Description |
|---|---|
| static from | Target an L2 table in a database. |
| static from | Target a table by name in a database. |
static fromTable(database, table)
public static fromTable(database: IDatabaseRef, table: ITable): DataQualityTargetTable
Parameters
- database
IDatabaseโ the database that holds the table.Ref - table
ITableโ the table to evaluate.
Returns
Target an L2 table in a database.
static fromTableName(database, tableName)
public static fromTableName(database: IDatabaseRef, tableName: string): DataQualityTargetTable
Parameters
- database
IDatabaseโ the database that holds the table.Ref - tableName
stringโ the name of the table to evaluate.
Returns
Target a table by name in a database.
Use this when the table is not modeled as an L2 construct (e.g. it is imported or created elsewhere).

.NET
Go
Java
Python
TypeScript (