Interface CfnRegexPatternSetProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.101Z") @Stability(Stable) public interface CfnRegexPatternSetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnRegexPatternSet.

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.waf.regional.*;
 CfnRegexPatternSetProps cfnRegexPatternSetProps = CfnRegexPatternSetProps.builder()
         .name("name")
         .regexPatternStrings(List.of("regexPatternStrings"))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A friendly name or description of the RegexPatternSet .

      You can't change Name after you create a RegexPatternSet .

    • getRegexPatternStrings

      @Stability(Stable) @NotNull List<String> getRegexPatternStrings()
      Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t .
    • builder

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