Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResponseHeadersPolicyAccessControlAllowMethods

import type { ResponseHeadersPolicyAccessControlAllowMethods } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";

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.

interface ResponseHeadersPolicyAccessControlAllowMethods {
Quantity: number;
}

§Properties

§

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.

§
Quantity: number
[src]

The number of HTTP methods in the list.