Interface CfnDistribution.OriginCustomHeaderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.OriginCustomHeaderProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.OriginCustomHeaderProperty
extends software.amazon.jsii.JsiiSerializable
A complex type that contains
HeaderName
and HeaderValue
elements, if any, for this distribution.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.OriginCustomHeaderProperty
static final class
An implementation forCfnDistribution.OriginCustomHeaderProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of a header that you want CloudFront to send to your origin.The value for the header that you specified in theHeaderName
field.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaderName
The name of a header that you want CloudFront to send to your origin.For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .
- See Also:
-
getHeaderValue
The value for the header that you specified in theHeaderName
field.- See Also:
-
builder
-