Class CfnWebACL.GeoMatchStatementProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnWebACL.GeoMatchStatementProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnWebACL.GeoMatchStatementProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnWebACL.GeoMatchStatementProperty
@Stability(Stable)
@Internal
public static final class CfnWebACL.GeoMatchStatementProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnWebACL.GeoMatchStatementProperty
An implementation for
CfnWebACL.GeoMatchStatementProperty
-
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.wafv2.CfnWebACL.GeoMatchStatementProperty
CfnWebACL.GeoMatchStatementProperty.Builder, CfnWebACL.GeoMatchStatementProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnWebACL.GeoMatchStatementProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
An array of two-character country codes that you want to match against, for example,[ "US", "CN" ]
, from the alpha-2 country ISO codes of the ISO 3166 international standard.final Object
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.final int
hashCode()
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 theCfnWebACL.GeoMatchStatementProperty.Builder
.
-
-
Method Details
-
getCountryCodes
Description copied from interface:CfnWebACL.GeoMatchStatementProperty
An array of two-character country codes that you want to match against, for example,[ "US", "CN" ]
, from the alpha-2 country ISO codes of the ISO 3166 international standard.When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site.
- Specified by:
getCountryCodes
in interfaceCfnWebACL.GeoMatchStatementProperty
-
getForwardedIpConfig
Description copied from interface:CfnWebACL.GeoMatchStatementProperty
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
- Specified by:
getForwardedIpConfig
in interfaceCfnWebACL.GeoMatchStatementProperty
-
$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()
-