RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig class
Constructors
-
RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig({required Input<
String> fallbackBehavior, required Input<String> headerName, required Input<String> position}) -
Creates a new RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig.
fallbackBehaviorThe match status to assign to the web request if the request doesn't have a valid IP address in the specified position. Valid values include:MATCHorNO_MATCH.headerNameThe name of the HTTP header to use for the IP address.positionThe position in the header to search for the IP address. Valid values include:FIRST,LAST, orANY. IfANYis specified and the header contains more than 10 IP addresses, AWS WAFv2 inspects the last 10.const -
RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
fallbackBehavior
→ Input<
String> -
The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. Valid values include:
MATCHorNO_MATCH.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
headerName
→ Input<
String> -
The name of the HTTP header to use for the IP address.
final
-
position
→ Input<
String> -
The position in the header to search for the IP address. Valid values include:
FIRST,LAST, orANY. IfANYis specified and the header contains more than 10 IP addresses, AWS WAFv2 inspects the last 10.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited