public static interface CfnListenerRule.SourceIpConfigProperty
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.
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancingv2.*; SourceIpConfigProperty sourceIpConfigProperty = SourceIpConfigProperty.builder() .values(List.of("values")) .build();
|Modifier and Type||Interface and Description|
A builder for
An implementation for
default java.util.List<java.lang.String> getValues()
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.