libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ELBV2.Types.SourceIpConditionConfig

Description

 
Synopsis

Documentation

data SourceIpConditionConfig Source #

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.

See: newSourceIpConditionConfig smart constructor.

Constructors

SourceIpConditionConfig' 

Fields

  • values :: Maybe [Text]

    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.

Instances

Instances details
Eq SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Read SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Show SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Generic SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Associated Types

type Rep SourceIpConditionConfig :: Type -> Type #

NFData SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Methods

rnf :: SourceIpConditionConfig -> () #

Hashable SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

ToQuery SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

FromXML SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

type Rep SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

type Rep SourceIpConditionConfig = D1 ('MetaData "SourceIpConditionConfig" "Amazonka.ELBV2.Types.SourceIpConditionConfig" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "SourceIpConditionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newSourceIpConditionConfig :: SourceIpConditionConfig Source #

Create a value of SourceIpConditionConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:values:SourceIpConditionConfig', sourceIpConditionConfig_values - 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.

sourceIpConditionConfig_values :: Lens' SourceIpConditionConfig (Maybe [Text]) Source #

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.