Interface CfnByteMatchSetProps

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

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

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.*;
 CfnByteMatchSetProps cfnByteMatchSetProps = CfnByteMatchSetProps.builder()
         .name("name")
         // the properties below are optional
         .byteMatchTuples(List.of(ByteMatchTupleProperty.builder()
                 .fieldToMatch(FieldToMatchProperty.builder()
                         .type("type")
                         // the properties below are optional
                         .data("data")
                         .build())
                 .positionalConstraint("positionalConstraint")
                 .textTransformation("textTransformation")
                 // the properties below are optional
                 .targetString("targetString")
                 .targetStringBase64("targetStringBase64")
                 .build()))
         .build();
 
  • Method Details

    • getName

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

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

    • getByteMatchTuples

      @Stability(Stable) @Nullable default Object getByteMatchTuples()
      Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
    • builder

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