Class CfnCachePolicy.CachePolicyConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCachePolicy.CachePolicyConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCachePolicy.CachePolicyConfigProperty
CfnCachePolicy.CachePolicyConfigProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnCachePolicy.CachePolicyConfigProperty
CfnCachePolicy.CachePolicyConfigProperty.Builder, CfnCachePolicy.CachePolicyConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCachePolicy.CachePolicyConfigProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringA comment to describe the cache policy.final NumberThe 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.final NumberThe 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.final NumberThe 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.final StringgetName()A unique name to identify the cache policy.final ObjectThe HTTP headers, cookies, and URL query strings to include in the cache key.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCachePolicy.CachePolicyConfigProperty.Builder.
-
-
Method Details
-
getDefaultTtl
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyThe 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.CloudFront uses this value as the object's time to live (TTL) only when the origin does not send
Cache-ControlorExpiresheaders 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
MinTTLis more than 86400 seconds, then the default value for this field is the same as the value ofMinTTL.- Specified by:
getDefaultTtlin interfaceCfnCachePolicy.CachePolicyConfigProperty
-
getMaxTtl
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyThe 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.CloudFront uses this value only when the origin sends
Cache-ControlorExpiresheaders 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
MinTTLorDefaultTTLis more than 31536000 seconds, then the default value for this field is the same as the value ofDefaultTTL.- Specified by:
getMaxTtlin interfaceCfnCachePolicy.CachePolicyConfigProperty
-
getMinTtl
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyThe 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.For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
- Specified by:
getMinTtlin interfaceCfnCachePolicy.CachePolicyConfigProperty
-
getName
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyA unique name to identify the cache policy.- Specified by:
getNamein interfaceCfnCachePolicy.CachePolicyConfigProperty
-
getParametersInCacheKeyAndForwardedToOrigin
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyThe HTTP headers, cookies, and URL query strings to include in the cache key.The values included in the cache key are also included in requests that CloudFront sends to the origin.
- Specified by:
getParametersInCacheKeyAndForwardedToOriginin interfaceCfnCachePolicy.CachePolicyConfigProperty
-
getComment
Description copied from interface:CfnCachePolicy.CachePolicyConfigPropertyA comment to describe the cache policy.The comment cannot be longer than 128 characters.
- Specified by:
getCommentin interfaceCfnCachePolicy.CachePolicyConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-