Interface CfnWebACL.AsnMatchStatementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACL.AsnMatchStatementProperty.Jsii$Proxy
- Enclosing class:
CfnWebACL
@Stability(Stable)
public static interface CfnWebACL.AsnMatchStatementProperty
extends software.amazon.jsii.JsiiSerializable
A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.
For additional details, see ASN match rule statement in the AWS WAF Developer Guide .
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.wafv2.*; AsnMatchStatementProperty asnMatchStatementProperty = AsnMatchStatementProperty.builder() .asnList(List.of(123)) .forwardedIpConfig(ForwardedIPConfigurationProperty.builder() .fallbackBehavior("fallbackBehavior") .headerName("headerName") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWebACL.AsnMatchStatementProperty
static final class
An implementation forCfnWebACL.AsnMatchStatementProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Contains one or more Autonomous System Numbers (ASNs).default Object
The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAsnList
Contains one or more Autonomous System Numbers (ASNs).ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
- See Also:
-
getForwardedIpConfig
The configuration for inspecting IP addresses to match against an ASN 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.
- See Also:
-
builder
-