CfnRulesetMixinProps

class aws_cdk.mixins_preview.aws_databrew.mixins.CfnRulesetMixinProps(*, description=None, name=None, rules=None, tags=None, target_arn=None)

Bases: object

Properties for CfnRulesetPropsMixin.

Parameters:
  • description (Optional[str]) – The description of the ruleset.

  • name (Optional[str]) – The name of the ruleset.

  • rules (Union[IResolvable, Sequence[Union[IResolvable, RuleProperty, Dict[str, Any]]], None]) – Contains metadata about the ruleset.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

  • target_arn (Optional[str]) – The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_databrew import mixins as databrew_mixins

cfn_ruleset_mixin_props = databrew_mixins.CfnRulesetMixinProps(
    description="description",
    name="name",
    rules=[databrew_mixins.CfnRulesetPropsMixin.RuleProperty(
        check_expression="checkExpression",
        column_selectors=[databrew_mixins.CfnRulesetPropsMixin.ColumnSelectorProperty(
            name="name",
            regex="regex"
        )],
        disabled=False,
        name="name",
        substitution_map=[databrew_mixins.CfnRulesetPropsMixin.SubstitutionValueProperty(
            value="value",
            value_reference="valueReference"
        )],
        threshold=databrew_mixins.CfnRulesetPropsMixin.ThresholdProperty(
            type="type",
            unit="unit",
            value=123
        )
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_arn="targetArn"
)

Attributes

description

The description of the ruleset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-description

name

The name of the ruleset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-name

rules

Contains metadata about the ruleset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-rules

tags

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

For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-tags

target_arn

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-targetarn