MethodSettingsSettingsArgs

data class MethodSettingsSettingsArgs(val cacheDataEncrypted: Output<Boolean>? = null, val cacheTtlInSeconds: Output<Int>? = null, val cachingEnabled: Output<Boolean>? = null, val dataTraceEnabled: Output<Boolean>? = null, val loggingLevel: Output<String>? = null, val metricsEnabled: Output<Boolean>? = null, val requireAuthorizationForCacheControl: Output<Boolean>? = null, val throttlingBurstLimit: Output<Int>? = null, val throttlingRateLimit: Output<Double>? = null, val unauthorizedCacheControlHeaderStrategy: Output<String>? = null) : ConvertibleToJava<MethodSettingsSettingsArgs>

Constructors

Link copied to clipboard
constructor(cacheDataEncrypted: Output<Boolean>? = null, cacheTtlInSeconds: Output<Int>? = null, cachingEnabled: Output<Boolean>? = null, dataTraceEnabled: Output<Boolean>? = null, loggingLevel: Output<String>? = null, metricsEnabled: Output<Boolean>? = null, requireAuthorizationForCacheControl: Output<Boolean>? = null, throttlingBurstLimit: Output<Int>? = null, throttlingRateLimit: Output<Double>? = null, unauthorizedCacheControlHeaderStrategy: Output<String>? = null)

Properties

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

Whether the cached responses are encrypted.

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

Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.

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

Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.

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

Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.

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

Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are OFF, ERROR, and INFO.

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

Whether Amazon CloudWatch metrics are enabled for this method.

Link copied to clipboard

Whether authorization is required for a cache invalidation request.

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

Throttling burst limit. Default: -1 (throttling disabled).

Link copied to clipboard
val throttlingRateLimit: Output<Double>? = null

Throttling rate limit. Default: -1 (throttling disabled).

Link copied to clipboard

How to handle unauthorized requests for cache invalidation. The available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

Functions

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