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

Description

 
Synopsis

Documentation

data HttpHeaderConditionConfig Source #

Information about an HTTP header condition.

There is a set of standard HTTP header fields. You can also define custom HTTP header fields.

See: newHttpHeaderConditionConfig smart constructor.

Constructors

HttpHeaderConditionConfig' 

Fields

  • values :: Maybe [Text]

    One or more strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

    If the same header appears multiple times in the request, we search them in order until a match is found.

    If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

  • httpHeaderName :: Maybe Text

    The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

    You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.

Instances

Instances details
Eq HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

Read HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

Show HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

Generic HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

Associated Types

type Rep HttpHeaderConditionConfig :: Type -> Type #

NFData HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

Hashable HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

ToQuery HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

FromXML HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

type Rep HttpHeaderConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpHeaderConditionConfig

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

newHttpHeaderConditionConfig :: HttpHeaderConditionConfig Source #

Create a value of HttpHeaderConditionConfig 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:HttpHeaderConditionConfig', httpHeaderConditionConfig_values - One or more strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If the same header appears multiple times in the request, we search them in order until a match is found.

If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

$sel:httpHeaderName:HttpHeaderConditionConfig', httpHeaderConditionConfig_httpHeaderName - The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.

httpHeaderConditionConfig_values :: Lens' HttpHeaderConditionConfig (Maybe [Text]) Source #

One or more strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If the same header appears multiple times in the request, we search them in order until a match is found.

If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

httpHeaderConditionConfig_httpHeaderName :: Lens' HttpHeaderConditionConfig (Maybe Text) Source #

The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.