AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.ResponseHeadersPolicyAccessControlAllowMethods

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class ResponseHeadersPolicyAccessControlAllowMethods

The ResponseHeadersPolicyAccessControlAllowMethods type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Items System.Collections.Generic.List<System.String>

Gets and sets the property 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.

Public Property Quantity System.Int32

Gets and sets the property Quantity.

The number of HTTP methods in the list.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5