Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowMethods

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

The list of HTTP methods. Valid values are:

  • GET

  • DELETE

  • HEAD

  • OPTIONS

  • PATCH

  • POST

  • PUT

  • ALL

ALL is a special value that includes all of the listed HTTP methods.

Returns:

  • (Array<String>)


9792
9793
9794
9795
9796
9797
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9792

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

#quantityInteger

The number of HTTP methods in the list.

Returns:

  • (Integer)


9792
9793
9794
9795
9796
9797
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9792

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