Interface CfnRegexPatternSetProps

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

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:07.899Z") @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