Interface CfnRulesetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRulesetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.134Z") @Stability(Stable) public interface CfnRulesetProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.databrew.*;
 CfnRulesetProps cfnRulesetProps = CfnRulesetProps.builder()
         .name("name")
         .rules(List.of(RuleProperty.builder()
                 .checkExpression("checkExpression")
                 .name("name")
                 // the properties below are optional
                 .columnSelectors(List.of(ColumnSelectorProperty.builder()
                         .name("name")
                         .regex("regex")
                         .build()))
                 .disabled(false)
                 .substitutionMap(List.of(SubstitutionValueProperty.builder()
                         .value("value")
                         .valueReference("valueReference")
                         .build()))
                 .threshold(ThresholdProperty.builder()
                         .value(123)
                         // the properties below are optional
                         .type("type")
                         .unit("unit")
                         .build())
                 .build()))
         .targetArn("targetArn")
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the ruleset.
    • getRules

      @Stability(Stable) @NotNull Object getRules()
      Contains metadata about the ruleset.
    • getTargetArn

      @Stability(Stable) @NotNull String getTargetArn()
      The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the ruleset.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnRulesetProps.Builder builder()
      Returns:
      a CfnRulesetProps.Builder of CfnRulesetProps