@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.147Z") @Stability(value=Stable) public interface ResponseCustomHeader extends software.amazon.jsii.JsiiSerializable
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() |
String |
getHeader()
The HTTP response header name.
|
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.
|
String |
getValue()
The value for the HTTP response header.
|
@Stability(value=Stable) @NotNull String getHeader()
@Stability(value=Stable) @NotNull Boolean getOverride()
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static ResponseCustomHeader.Builder builder()
ResponseCustomHeader.Builder of ResponseCustomHeaderCopyright © 2022. All rights reserved.