Show / Hide Table of Contents

Class CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

Inheritance
object
CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty
Implements
CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty : CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty Implements CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty
Remarks

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html

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

Constructors

AccessControlAllowMethodsProperty()

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

Properties

Items

The list of HTTP methods. Valid values are:.

Constructors

AccessControlAllowMethodsProperty()

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

public AccessControlAllowMethodsProperty()
Remarks

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html

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" }
             };

Properties

Items

The list of HTTP methods. Valid values are:.

public string[] Items { get; set; }
Property Value

string[]

Remarks

    ALL is a special value that includes all of the listed HTTP methods.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html#cfn-cloudfront-responseheaderspolicy-accesscontrolallowmethods-items

    Implements

    CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty
    Back to top Generated by DocFX