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.
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). |