aws-cdk-lib.aws_databrew.CfnRulesetProps

interface CfnRulesetProps

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnRulesetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnRulesetProps
Javasoftware.amazon.awscdk.services.databrew.CfnRulesetProps
Pythonaws_cdk.aws_databrew.CfnRulesetProps
TypeScript aws-cdk-lib » 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 { aws_databrew as databrew } from 'aws-cdk-lib';
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

NameTypeDescription
namestringThe name of the ruleset.
rulesIResolvable | IResolvable | RuleProperty[]Contains metadata about the ruleset.
targetArnstringThe Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
description?stringThe description of the ruleset.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

name

Type: string

The name of the ruleset.


rules

Type: IResolvable | IResolvable | RuleProperty[]

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: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .