DistributionCacheBehaviorSettingsArgs

data class DistributionCacheBehaviorSettingsArgs(val allowedHttpMethods: Output<String>? = null, val cachedHttpMethods: Output<String>? = null, val defaultTtl: Output<Int>? = null, val forwardedCookies: Output<DistributionCacheBehaviorSettingsForwardedCookiesArgs>? = null, val forwardedHeaders: Output<DistributionCacheBehaviorSettingsForwardedHeadersArgs>? = null, val forwardedQueryStrings: Output<DistributionCacheBehaviorSettingsForwardedQueryStringsArgs>? = null, val maximumTtl: Output<Int>? = null, val minimumTtl: Output<Int>? = null) : ConvertibleToJava<DistributionCacheBehaviorSettingsArgs>

Constructors

Link copied to clipboard
constructor(allowedHttpMethods: Output<String>? = null, cachedHttpMethods: Output<String>? = null, defaultTtl: Output<Int>? = null, forwardedCookies: Output<DistributionCacheBehaviorSettingsForwardedCookiesArgs>? = null, forwardedHeaders: Output<DistributionCacheBehaviorSettingsForwardedHeadersArgs>? = null, forwardedQueryStrings: Output<DistributionCacheBehaviorSettingsForwardedQueryStringsArgs>? = null, maximumTtl: Output<Int>? = null, minimumTtl: Output<Int>? = null)

Properties

Link copied to clipboard
val allowedHttpMethods: Output<String>? = null

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

Link copied to clipboard
val cachedHttpMethods: Output<String>? = null

The HTTP method responses that are cached by your distribution.

Link copied to clipboard
val defaultTtl: Output<Int>? = null

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. Detailed below

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. Detailed below

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. Detailed below

Link copied to clipboard
val maximumTtl: Output<Int>? = null

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
val minimumTtl: Output<Int>? = null

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
open override fun toJava(): DistributionCacheBehaviorSettingsArgs