@Stability(value=Stable) @Internal public static final class CfnCachePolicy.CachePolicyConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCachePolicy.CachePolicyConfigProperty
CfnCachePolicy.CachePolicyConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnCachePolicy.CachePolicyConfigProperty.Builder, CfnCachePolicy.CachePolicyConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCachePolicy.CachePolicyConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCachePolicy.CachePolicyConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getComment()
A comment to describe the cache policy.
|
Number |
getDefaultTtl()
The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
|
Number |
getMaxTtl()
The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
|
Number |
getMinTtl()
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
|
String |
getName()
A unique name to identify the cache policy.
|
Object |
getParametersInCacheKeyAndForwardedToOrigin()
The HTTP headers, cookies, and URL query strings to include in the cache key.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnCachePolicy.CachePolicyConfigProperty.Builder builder)
CfnCachePolicy.CachePolicyConfigProperty.Builder.public final Number getDefaultTtl()
CfnCachePolicy.CachePolicyConfigProperty
CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL .
getDefaultTtl in interface CfnCachePolicy.CachePolicyConfigPropertypublic final Number getMaxTtl()
CfnCachePolicy.CachePolicyConfigProperty
CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL .
getMaxTtl in interface CfnCachePolicy.CachePolicyConfigPropertypublic final Number getMinTtl()
CfnCachePolicy.CachePolicyConfigPropertyFor more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
getMinTtl in interface CfnCachePolicy.CachePolicyConfigPropertypublic final String getName()
CfnCachePolicy.CachePolicyConfigPropertygetName in interface CfnCachePolicy.CachePolicyConfigPropertypublic final Object getParametersInCacheKeyAndForwardedToOrigin()
CfnCachePolicy.CachePolicyConfigPropertyThe values included in the cache key are automatically included in requests that CloudFront sends to the origin.
getParametersInCacheKeyAndForwardedToOrigin in interface CfnCachePolicy.CachePolicyConfigPropertypublic final String getComment()
CfnCachePolicy.CachePolicyConfigPropertyThe comment cannot be longer than 128 characters.
getComment in interface CfnCachePolicy.CachePolicyConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.