| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static CacheHeaderBehavior |
CacheHeaderBehavior.allowList(String... headers)
Listed headers are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
|
default CacheHeaderBehavior |
CachePolicyProps.getHeaderBehavior()
Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CacheHeaderBehavior |
CachePolicyProps.Jsii$Proxy.getHeaderBehavior() |
static CacheHeaderBehavior |
CacheHeaderBehavior.none()
HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin.
|
| Modifier and Type | Method and Description |
|---|---|
CachePolicy.Builder |
CachePolicy.Builder.headerBehavior(CacheHeaderBehavior headerBehavior)
Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CachePolicyProps.Builder |
CachePolicyProps.Builder.headerBehavior(CacheHeaderBehavior headerBehavior)
Sets the value of
CachePolicyProps.getHeaderBehavior() |
Copyright © 2022. All rights reserved.