Constructs a new access policy condition that compares the source IP
address of the incoming request to an AWS service against the specified
CIDR range. When the condition evaluates to true (i.e. when the incoming
source IP address is within the CIDR range or not) depends on the
specified IpAddressComparisonType.
Declaration Syntax
C# |
public static Condition NewCondition( ConditionFactory..::..IpAddressComparisonType type, string ipAddressRange )
Parameters
- type (ConditionFactory..::..IpAddressComparisonType)
- The type of comparison to to perform.
- ipAddressRange (String)
- The CIDR IP range involved in the policy condition.