Interface CfnResponseHeadersPolicy.CustomHeadersConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResponseHeadersPolicy.CustomHeadersConfigProperty.Jsii$Proxy
Enclosing class:
CfnResponseHeadersPolicy

@Stability(Stable) public static interface CfnResponseHeadersPolicy.CustomHeadersConfigProperty extends software.amazon.jsii.JsiiSerializable
A list of HTTP response header names and their values.

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();