| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICachePolicy.Jsii$Default
Internal default implementation for
ICachePolicy. |
| Modifier and Type | Class and Description |
|---|---|
class |
CachePolicy
A Cache Policy configuration.
|
static class |
ICachePolicy.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Field and Description |
|---|---|
static ICachePolicy |
CachePolicy.AMPLIFY
This policy is designed for use with an origin that is an AWS Amplify web app.
|
static ICachePolicy |
CachePolicy.CACHING_DISABLED
Disables caching.
|
static ICachePolicy |
CachePolicy.CACHING_OPTIMIZED
Optimize cache efficiency by minimizing the values that CloudFront includes in the cache key.
|
static ICachePolicy |
CachePolicy.CACHING_OPTIMIZED_FOR_UNCOMPRESSED_OBJECTS
Optimize cache efficiency by minimizing the values that CloudFront includes in the cache key.
|
static ICachePolicy |
CachePolicy.ELEMENTAL_MEDIA_PACKAGE
Designed for use with an origin that is an AWS Elemental MediaPackage endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
static ICachePolicy |
CachePolicy.fromCachePolicyId(software.constructs.Construct scope,
String id,
String cachePolicyId)
Imports a Cache Policy from its id.
|
default ICachePolicy |
AddBehaviorOptions.getCachePolicy()
The cache policy for this behavior.
|
ICachePolicy |
AddBehaviorOptions.Jsii$Proxy.getCachePolicy() |
ICachePolicy |
BehaviorOptions.Jsii$Proxy.getCachePolicy() |
| Modifier and Type | Method and Description |
|---|---|
AddBehaviorOptions.Builder |
AddBehaviorOptions.Builder.cachePolicy(ICachePolicy cachePolicy)
Sets the value of
AddBehaviorOptions.getCachePolicy() |
BehaviorOptions.Builder |
BehaviorOptions.Builder.cachePolicy(ICachePolicy cachePolicy)
Sets the value of
AddBehaviorOptions.getCachePolicy() |
Copyright © 2022. All rights reserved.