Class ListenerRuleConditionSourceIp


  • public final class ListenerRuleConditionSourceIp
    extends java.lang.Object
    • Method Detail

      • ipAddressType

        public java.util.Optional<java.lang.String> ipAddressType()
        Returns:
        IP address type for Network Load Balancers. Valid values are `ipv4` and `ipv6`.
      • values

        public java.util.List<java.lang.String> values()
        Returns:
        List of source IP addresses in CIDR format for Application Load Balancers. Both IPv4 and IPv6 addresses can be used. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the `X-Forwarded-For` header, use `httpHeader` condition instead.