Interface CfnIPSetProps

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

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

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.*;
 CfnIPSetProps cfnIPSetProps = CfnIPSetProps.builder()
         .name("name")
         // the properties below are optional
         .ipSetDescriptors(List.of(Map.of(
                 "type", "type",
                 "value", "value")))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the IPSet .

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

    • getIpSetDescriptors

      @Stability(Stable) @Nullable default Object getIpSetDescriptors()
      The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

      If the WebACL is associated with an Amazon CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

    • builder

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