amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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]

    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. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.

Instances

Instances details
ToQuery SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

FromXML 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 #

Read SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Show SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

NFData SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Methods

rnf :: SourceIpConditionConfig -> () #

Eq SourceIpConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.SourceIpConditionConfig

Hashable 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" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" '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 - 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. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.

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

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. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.