@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:57.130Z")
public interface ResponseCustomHeader
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.*; ResponseCustomHeader responseCustomHeader = ResponseCustomHeader.builder() .header("header") .override(false) .value("value") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
ResponseCustomHeader.Builder
A builder for
ResponseCustomHeader |
static class |
ResponseCustomHeader.Jsii$Proxy
An implementation for
ResponseCustomHeader |
Modifier and Type | Method and Description |
---|---|
static ResponseCustomHeader.Builder |
builder() |
java.lang.String |
getHeader()
The HTTP response header name.
|
java.lang.Boolean |
getOverride()
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
|
java.lang.String |
getValue()
The value for the HTTP response header.
|
java.lang.String getHeader()
java.lang.Boolean getOverride()
java.lang.String getValue()
static ResponseCustomHeader.Builder builder()
ResponseCustomHeader.Builder
of ResponseCustomHeader