Class CfnIPSet.IPSetDescriptorProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.regional.CfnIPSet.IPSetDescriptorProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnIPSet.IPSetDescriptorProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnIPSet.IPSetDescriptorProperty
@Stability(Stable)
@Internal
public static final class CfnIPSet.IPSetDescriptorProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnIPSet.IPSetDescriptorProperty
An implementation for
CfnIPSet.IPSetDescriptorProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.regional.CfnIPSet.IPSetDescriptorProperty
CfnIPSet.IPSetDescriptorProperty.Builder, CfnIPSet.IPSetDescriptorProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnIPSet.IPSetDescriptorProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnIPSet.IPSetDescriptorProperty.Builder
.
-
-
Method Details
-
getType
Description copied from interface:CfnIPSet.IPSetDescriptorProperty
SpecifyIPV4
orIPV6
.- Specified by:
getType
in interfaceCfnIPSet.IPSetDescriptorProperty
-
getValue
Description copied from interface:CfnIPSet.IPSetDescriptorProperty
Specify an IPv4 address by using CIDR notation. For example:.- To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify
192.0.2.44/32
. - To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify
192.0.2.0/24
.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing .
Specify an IPv6 address by using CIDR notation. For example:
- To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify
1111:0000:0000:0000:0000:0000:0000:0111/128
. - To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify
1111:0000:0000:0000:0000:0000:0000:0000/64
.
- Specified by:
getValue
in interfaceCfnIPSet.IPSetDescriptorProperty
- To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-