Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ResponseHeadersPolicyAccessControlAllowOrigins = ResponseHeadersPolicyAccessControlAllowOrigins' {}
- newResponseHeadersPolicyAccessControlAllowOrigins :: Int -> ResponseHeadersPolicyAccessControlAllowOrigins
- responseHeadersPolicyAccessControlAllowOrigins_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins Int
- responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text]
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.
Instances
newResponseHeadersPolicyAccessControlAllowOrigins Source #
:: Int |
|
-> ResponseHeadersPolicyAccessControlAllowOrigins |
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_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins Int Source #
The number of origins in the list.
responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text] Source #
The list of origins (domain names). You can specify *
to allow all
origins.