ResponseHeadersPolicyAccessControlAllowMethods - Amazon CloudFront

ResponseHeadersPolicyAccessControlAllowMethods

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.

Contents

Items

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.

Type: Array of strings

Valid Values: GET | POST | OPTIONS | PUT | DELETE | PATCH | HEAD | ALL

Required: Yes

Quantity

The number of HTTP methods in the list.

Type: Integer

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: