Show / Hide Table of Contents

Interface CfnResponseHeadersPolicy.IAccessControlAllowOriginsProperty

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnResponseHeadersPolicy.IAccessControlAllowOriginsProperty
Syntax (vb)
Public Interface CfnResponseHeadersPolicy.IAccessControlAllowOriginsProperty
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolalloworigins.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 accessControlAllowOriginsProperty = new AccessControlAllowOriginsProperty {
                 Items = new [] { "items" }
             };

Synopsis

Properties

Items

The list of origins (domain names).

Properties

Items

The list of origins (domain names).

string[] Items { get; }
Property Value

string[]

Remarks

You can specify * to allow all origins.

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

Back to top Generated by DocFX