Interface CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty
A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods
HTTP response header.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccessControlAllowMethodsProperty
Syntax (vb)
Public Interface IAccessControlAllowMethodsProperty
Remarks
For more information about the Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var accessControlAllowMethodsProperty = new AccessControlAllowMethodsProperty {
Items = new [] { "items" }
};
Synopsis
Properties
Items | The list of HTTP methods. Valid values are:. |
Properties
Items
The list of HTTP methods. Valid values are:.
string[] Items { get; }
Property Value
System.String[]
Remarks
ALL
is a special value that includes all of the listed HTTP methods.