RuleIpExpression
An IP address expression matching certain IP addresses within a given range of IP addresses.
Contents
- Evaluate
-
The IP address to evaluate in this condition.
Type: RuleIpToEvaluate object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- Operator
-
The operator to evaluate the IP address.
Type: String
Valid Values:
CIDR_MATCHES | NOT_CIDR_MATCHES
Required: Yes
- Values
-
The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 1. Maximum length of 18.
Pattern:
^(([0-9]|.|/)*)$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: