interface CfnRulesetProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.DataBrew.CfnRulesetProps | 
|  Java | software.amazon.awscdk.services.databrew.CfnRulesetProps | 
|  Python | aws_cdk.aws_databrew.CfnRulesetProps | 
|  TypeScript | @aws-cdk/aws-databrew»CfnRulesetProps | 
Properties for defining a CfnRuleset.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as databrew from '@aws-cdk/aws-databrew';
const cfnRulesetProps: databrew.CfnRulesetProps = {
  name: 'name',
  rules: [{
    checkExpression: 'checkExpression',
    name: 'name',
    // the properties below are optional
    columnSelectors: [{
      name: 'name',
      regex: 'regex',
    }],
    disabled: false,
    substitutionMap: [{
      value: 'value',
      valueReference: 'valueReference',
    }],
    threshold: {
      value: 123,
      // the properties below are optional
      type: 'type',
      unit: 'unit',
    },
  }],
  targetArn: 'targetArn',
  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| name | string | The name of the ruleset. | 
| rules | IResolvable | IResolvable | Rule[] | Contains metadata about the ruleset. | 
| target | string | The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with. | 
| description? | string | The description of the ruleset. | 
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. | 
name
Type:
string
The name of the ruleset.
rules
Type:
IResolvable | IResolvable | Rule[]
Contains metadata about the ruleset.
targetArn
Type:
string
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
description?
Type:
string
(optional)
The description of the ruleset.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
