HyperdriveConfigCachingArgs

data class HyperdriveConfigCachingArgs(val disabled: Output<Boolean>? = null, val maxAge: Output<Int>? = null, val staleWhileRevalidate: Output<Int>? = null) : ConvertibleToJava<HyperdriveConfigCachingArgs>

Constructors

Link copied to clipboard
constructor(disabled: Output<Boolean>? = null, maxAge: Output<Int>? = null, staleWhileRevalidate: Output<Int>? = null)

Properties

Link copied to clipboard
val disabled: Output<Boolean>? = null

When set to true, disables the caching of SQL responses. (Default: false)

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

When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)

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

When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)

Functions

Link copied to clipboard
open override fun toJava(): HyperdriveConfigCachingArgs