Class CfnDistribution.CacheSettingsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDistribution.CacheSettingsProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnDistribution.CacheSettingsProperty
CfnDistribution.CacheSettingsProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnDistribution.CacheSettingsProperty
CfnDistribution.CacheSettingsProperty.Builder, CfnDistribution.CacheSettingsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDistribution.CacheSettingsProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The HTTP methods that are processed and forwarded to the distribution's origin.final String
The HTTP method responses that are cached by your distribution.final Number
The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.final Object
An object that describes the cookies that are forwarded to the origin.final Object
An object that describes the headers that are forwarded to the origin.final Object
An object that describes the query strings that are forwarded to the origin.final Number
The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.final Number
The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.final int
hashCode()
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 theCfnDistribution.CacheSettingsProperty.Builder
.
-
-
Method Details
-
getAllowedHttpMethods
Description copied from interface:CfnDistribution.CacheSettingsProperty
The HTTP methods that are processed and forwarded to the distribution's origin.You can specify the following options:
GET,HEAD
- The distribution forwards theGET
andHEAD
methods.GET,HEAD,OPTIONS
- The distribution forwards theGET
,HEAD
, andOPTIONS
methods.GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE
- The distribution forwards theGET
,HEAD
,OPTIONS
,PUT
,PATCH
,POST
, andDELETE
methods.
If you specify
GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE
, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin. -
getCachedHttpMethods
Description copied from interface:CfnDistribution.CacheSettingsProperty
The HTTP method responses that are cached by your distribution.You can specify the following options:
GET,HEAD
- The distribution caches responses to theGET
andHEAD
methods.GET,HEAD,OPTIONS
- The distribution caches responses to theGET
,HEAD
, andOPTIONS
methods.
-
getDefaultTtl
Description copied from interface:CfnDistribution.CacheSettingsProperty
The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.The value specified applies only when the origin does not add HTTP headers such as
Cache-Control max-age
,Cache-Control s-maxage
, andExpires
to objects. -
getForwardedCookies
Description copied from interface:CfnDistribution.CacheSettingsProperty
An object that describes the cookies that are forwarded to the origin.Your content is cached based on the cookies that are forwarded.
-
getForwardedHeaders
Description copied from interface:CfnDistribution.CacheSettingsProperty
An object that describes the headers that are forwarded to the origin.Your content is cached based on the headers that are forwarded.
-
getForwardedQueryStrings
Description copied from interface:CfnDistribution.CacheSettingsProperty
An object that describes the query strings that are forwarded to the origin.Your content is cached based on the query strings that are forwarded.
-
getMaximumTtl
Description copied from interface:CfnDistribution.CacheSettingsProperty
The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.The value specified applies only when the origin adds HTTP headers such as
Cache-Control max-age
,Cache-Control s-maxage
, andExpires
to objects. -
getMinimumTtl
Description copied from interface:CfnDistribution.CacheSettingsProperty
The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.A value of
0
must be specified forminimumTTL
if the distribution is configured to forward all headers to the origin. -
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-