Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowOrigins

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

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

Returns:

  • (Array<String>)


9821
9822
9823
9824
9825
9826
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9821

class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end

#quantityInteger

The number of origins in the list.

Returns:

  • (Integer)


9821
9822
9823
9824
9825
9826
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9821

class ResponseHeadersPolicyAccessControlAllowOrigins < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end