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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIPSetPropsstatic final classAn implementation forCfnIPSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIPSetProps.Builderbuilder()default ObjectThe IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.getName()The name of theIPSet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of theIPSet.You can't change the name of an
IPSetafter you create it. -
getIpSetDescriptors
The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.If the
WebACLis 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
- Returns:
- a
CfnIPSetProps.BuilderofCfnIPSetProps
-