CacheSettings

Describes the cache settings of an Amazon Lightsail content delivery network (CDN) distribution.

These settings apply only to your distribution's cacheBehaviors (including the defaultCacheBehavior) that have a behavior of cache.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The HTTP methods that are processed and forwarded to the distribution's origin.

Link copied to clipboard

The HTTP method responses that are cached by your distribution.

Link copied to clipboard

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.

Link copied to clipboard

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Link copied to clipboard

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
inline fun copy(block: CacheSettings.Builder.() -> Unit = {}): CacheSettings
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String