libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.Types.CachePolicyQueryStringsConfig

Description

 
Synopsis

Documentation

data CachePolicyQueryStringsConfig Source #

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

See: newCachePolicyQueryStringsConfig smart constructor.

Constructors

CachePolicyQueryStringsConfig' 

Fields

  • queryStrings :: Maybe QueryStringNames

    Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

  • queryStringBehavior :: CachePolicyQueryStringBehavior

    Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Read CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Show CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Generic CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Associated Types

type Rep CachePolicyQueryStringsConfig :: Type -> Type #

NFData CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Hashable CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

FromXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

ToXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig = D1 ('MetaData "CachePolicyQueryStringsConfig" "Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyQueryStringsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringNames)) :*: S1 ('MetaSel ('Just "queryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyQueryStringBehavior)))

newCachePolicyQueryStringsConfig Source #

Create a value of CachePolicyQueryStringsConfig 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:queryStrings:CachePolicyQueryStringsConfig', cachePolicyQueryStringsConfig_queryStrings - Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

$sel:queryStringBehavior:CachePolicyQueryStringsConfig', cachePolicyQueryStringsConfig_queryStringBehavior - Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames) Source #

Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior Source #

Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.