Interface CfnGeoMatchSetProps

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

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

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.*;
 CfnGeoMatchSetProps cfnGeoMatchSetProps = CfnGeoMatchSetProps.builder()
         .name("name")
         // the properties below are optional
         .geoMatchConstraints(List.of(GeoMatchConstraintProperty.builder()
                 .type("type")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getName

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

      You can't change the name of an GeoMatchSet after you create it.

    • getGeoMatchConstraints

      @Stability(Stable) @Nullable default Object getGeoMatchConstraints()
      An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
    • builder

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