Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowOrigins
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowOrigins
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass ResponseHeadersPolicyAccessControlAllowOrigins data as a hash:
{
quantity: 1, # required
items: ["string"], # required
}
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.
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.
11549 11550 11551 11552 11553 11554 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11549 class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of origins in the list.
11549 11550 11551 11552 11553 11554 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11549 class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |