Interface CfnResponseHeadersPolicy.CustomHeaderProperty

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

@Stability(Stable) public static interface CfnResponseHeadersPolicy.CustomHeaderProperty extends software.amazon.jsii.JsiiSerializable
An HTTP response header name and its value.

CloudFront includes this header 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.*;
 CustomHeaderProperty customHeaderProperty = CustomHeaderProperty.builder()
         .header("header")
         .override(false)
         .value("value")
         .build();