@Stability(value=Stable)
public static interface CfnDistribution.OriginCustomHeaderProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
OriginCustomHeaderProperty originCustomHeaderProperty = OriginCustomHeaderProperty.builder()
.headerName("headerName")
.headerValue("headerValue")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistribution.OriginCustomHeaderProperty.Builder
A builder for
CfnDistribution.OriginCustomHeaderProperty |
static class |
CfnDistribution.OriginCustomHeaderProperty.Jsii$Proxy
An implementation for
CfnDistribution.OriginCustomHeaderProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistribution.OriginCustomHeaderProperty.Builder |
builder() |
String |
getHeaderName()
The name of a header that you want CloudFront to send to your origin.
|
String |
getHeaderValue()
The value for the header that you specified in the `HeaderName` field.
|
@Stability(value=Stable) @NotNull String getHeaderName()
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .
@Stability(value=Stable) @NotNull String getHeaderValue()
@Stability(value=Stable) static CfnDistribution.OriginCustomHeaderProperty.Builder builder()
Copyright © 2022. All rights reserved.