CfnDataQualityRulesetProps Struct
Properties for defining a CfnDataQualityRuleset.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnDataQualityRulesetProps: glue.CfnDataQualityRulesetProps = {
name: 'name',
// the properties below are optional
clientToken: 'clientToken',
description: 'description',
ruleset: 'ruleset',
tags: {
tagsKey: 'tags',
},
targetTable: {
databaseName: 'databaseName',
tableName: 'tableName',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue
cfn_data_quality_ruleset_props = glue.CfnDataQualityRulesetProps(
name="name",
# the properties below are optional
client_token="clientToken",
description="description",
ruleset="ruleset",
tags={
"tags_key": "tags"
},
target_table=glue.CfnDataQualityRuleset.DataQualityTargetTableProperty(
database_name="databaseName",
table_name="tableName"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
CfnDataQualityRulesetProps cfnDataQualityRulesetProps = CfnDataQualityRulesetProps.builder()
.name("name")
// the properties below are optional
.clientToken("clientToken")
.description("description")
.ruleset("ruleset")
.tags(Map.of(
"tagsKey", "tags"))
.targetTable(DataQualityTargetTableProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var cfnDataQualityRulesetProps = new CfnDataQualityRulesetProps {
Name = "name",
// the properties below are optional
ClientToken = "clientToken",
Description = "description",
Ruleset = "ruleset",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
TargetTable = new DataQualityTargetTableProperty {
DatabaseName = "databaseName",
TableName = "tableName"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnDataQualityRulesetProps := &CfnDataQualityRulesetProps{
Name: jsii.String("name"),
// the properties below are optional
ClientToken: jsii.String("clientToken"),
Description: jsii.String("description"),
Ruleset: jsii.String("ruleset"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
TargetTable: &DataQualityTargetTableProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
},
}
Properties
clientTokenoptionalstringclient_tokenoptionalstrclientTokenoptionalStringClientTokenoptionalstringClientTokenoptional*string #Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the data quality ruleset.
The name of the data quality ruleset.
rulesetoptionalstringrulesetoptionalstrrulesetoptionalStringRulesetoptionalstringRulesetoptional*string #A Data Quality Definition Language (DQDL) ruleset.
For more information see the AWS Glue Developer Guide.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #A list of tags applied to the data quality ruleset.
targetTableoptionalIResolvable | CfnDataQualityRuleset.target_tableoptionaltyping.Union[IResolvable, DataQualityTargetTableProperty]targetTableoptionalIResolvableTargetTableoptionalIResolvableTargetTableoptionalinterface{} #An object representing an AWS Glue table.