AWS::ElasticLoadBalancingV2::ListenerRule SourceIpConfig - AWS CloudFormation

AWS::ElasticLoadBalancingV2::ListenerRule SourceIpConfig

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Values" : [ String, ... ] }

YAML

Values: - String

Properties

Values

The 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.

Required: No

Type: Array of String

Update requires: No interruption