public static interface CfnResponseHeadersPolicy.CustomHeadersConfigProperty
CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
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.*; CustomHeadersConfigProperty customHeadersConfigProperty = CustomHeadersConfigProperty.builder() .items(List.of(CustomHeaderProperty.builder() .header("header") .override(false) .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResponseHeadersPolicy.CustomHeadersConfigProperty.Builder
A builder for
CfnResponseHeadersPolicy.CustomHeadersConfigProperty |
static class |
CfnResponseHeadersPolicy.CustomHeadersConfigProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.CustomHeadersConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnResponseHeadersPolicy.CustomHeadersConfigProperty.Builder |
builder() |
java.lang.Object |
getItems()
The list of HTTP response headers and their values.
|