Interface CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Jsii$Proxy
- Enclosing class:
CfnResponseHeadersPolicyPropsMixin
@Stability(Stable)
public static interface CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty
extends software.amazon.jsii.JsiiSerializable
A list of HTTP response header names and their values.
CloudFront includes these headers 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.cfnpropertymixins.services.cloudfront.*;
CustomHeadersConfigProperty customHeadersConfigProperty = CustomHeadersConfigProperty.builder()
.items(List.of(CustomHeaderProperty.builder()
.header("header")
.override(false)
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getItems
The list of HTTP response headers and their values.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResponseHeadersPolicyPropsMixin.CustomHeaderProperty>- See Also:
-
builder
@Stability(Stable) static CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder builder()
-