Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowOrigins
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowOrigins
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
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.
[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#items ⇒ Array<String>
The list of origins (domain names).
-
#quantity ⇒ Integer
The number of origins in the list.
Instance Attribute Details
#items ⇒ Array<String>
The list of origins (domain names). You can specify ‘*` to allow all origins.
9487 9488 9489 9490 9491 9492 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 9487 class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of origins in the list.
9487 9488 9489 9490 9491 9492 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 9487 class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |