Interface CfnResponseHeadersPolicy.AccessControlExposeHeadersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResponseHeadersPolicy.AccessControlExposeHeadersProperty.Jsii$Proxy
- Enclosing class:
- CfnResponseHeadersPolicy
@Stability(Stable)
public static interface CfnResponseHeadersPolicy.AccessControlExposeHeadersProperty
extends software.amazon.jsii.JsiiSerializable
A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.
For more information about the Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers 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.*; AccessControlExposeHeadersProperty accessControlExposeHeadersProperty = AccessControlExposeHeadersProperty.builder() .items(List.of("items")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnResponseHeadersPolicy.AccessControlExposeHeadersProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getItems
The list of HTTP headers.You can specify
*
to expose all headers. -
builder
@Stability(Stable) static CfnResponseHeadersPolicy.AccessControlExposeHeadersProperty.Builder builder()
-