amazonka-cloudfront-2.0: Amazon CloudFront 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.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Description

 
Synopsis

Documentation

data ResponseHeadersPolicyAccessControlAllowOrigins Source #

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

See: newResponseHeadersPolicyAccessControlAllowOrigins smart constructor.

Constructors

ResponseHeadersPolicyAccessControlAllowOrigins' 

Fields

  • quantity :: Int

    The number of origins in the list.

  • items :: [Text]

    The list of origins (domain names). You can specify * to allow all origins.

Instances

Instances details
FromXML ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

ToXML ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Generic ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Read ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Show ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

NFData ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Eq ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Hashable ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

type Rep ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

type Rep ResponseHeadersPolicyAccessControlAllowOrigins = D1 ('MetaData "ResponseHeadersPolicyAccessControlAllowOrigins" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlAllowOrigins'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newResponseHeadersPolicyAccessControlAllowOrigins Source #

Create a value of ResponseHeadersPolicyAccessControlAllowOrigins 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:quantity:ResponseHeadersPolicyAccessControlAllowOrigins', responseHeadersPolicyAccessControlAllowOrigins_quantity - The number of origins in the list.

$sel:items:ResponseHeadersPolicyAccessControlAllowOrigins', responseHeadersPolicyAccessControlAllowOrigins_items - The list of origins (domain names). You can specify * to allow all origins.

responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text] Source #

The list of origins (domain names). You can specify * to allow all origins.