Class: Aws::ElasticLoadBalancingV2::Types::SourceIpConditionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::SourceIpConditionConfig
- Defined in:
- gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb
Overview
When making an API call, you may pass SourceIpConditionConfig data as a hash:
{
values: ["StringValue"],
}
Information about a source IP condition.
You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
One or more source IP addresses, in CIDR format.
Instance Attribute Details
#values ⇒ Array<String>
One or more source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.
If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.
3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3803 class SourceIpConditionConfig < Struct.new( :values) SENSITIVE = [] include Aws::Structure end |