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

Description

 
Synopsis

Documentation

data HttpRequestMethodConditionConfig Source #

Information about an HTTP method condition.

HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry. You can also define custom HTTP methods.

See: newHttpRequestMethodConditionConfig smart constructor.

Constructors

HttpRequestMethodConditionConfig' 

Fields

  • values :: Maybe [Text]

    The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.

    If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.

Instances

Instances details
Eq HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

Read HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

Show HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

Generic HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

Associated Types

type Rep HttpRequestMethodConditionConfig :: Type -> Type #

NFData HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

Hashable HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

ToQuery HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

FromXML HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

type Rep HttpRequestMethodConditionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.HttpRequestMethodConditionConfig

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

newHttpRequestMethodConditionConfig :: HttpRequestMethodConditionConfig Source #

Create a value of HttpRequestMethodConditionConfig 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:HttpRequestMethodConditionConfig', httpRequestMethodConditionConfig_values - The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.

If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.

httpRequestMethodConditionConfig_values :: Lens' HttpRequestMethodConditionConfig (Maybe [Text]) Source #

The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.

If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.