AWS::CloudFront::ResponseHeadersPolicy AccessControlAllowMethods - AWS CloudFormation

AWS::CloudFront::ResponseHeadersPolicy AccessControlAllowMethods

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Items" : [ String, ... ] }

YAML

Items: - String

Properties

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.

Required: Yes

Type: Array of String

Update requires: No interruption