Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowMethods
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowMethods
- Includes:
- Structure
- Defined in:
- 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.
[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#items ⇒ Array<String>
The list of HTTP methods.
-
#quantity ⇒ Integer
The number of HTTP methods in the list.
Instance Attribute Details
#items ⇒ Array<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.
10355 10356 10357 10358 10359 10360 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10355 class ResponseHeadersPolicyAccessControlAllowMethods < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of HTTP methods in the list.
10355 10356 10357 10358 10359 10360 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10355 class ResponseHeadersPolicyAccessControlAllowMethods < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |