public static interface CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty
For more information about the Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudfront.*; AccessControlAllowOriginsProperty accessControlAllowOriginsProperty = AccessControlAllowOriginsProperty.builder() .items(List.of("items")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty.Builder
|
static class |
CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty.Builder |
builder() |
java.util.List<java.lang.String> |
getItems()
The list of origins (domain names).
|