DeploymentMethodSettingArgs

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

The `MethodSetting` property type configures settings for all methods in a stage. The `MethodSettings` property of the Amazon API Gateway Deployment StageDescription property type contains a list of `MethodSetting` property types.

Constructors

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

Properties

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

Specifies whether the cached responses are encrypted.

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

Specifies the 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

Specifies 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

Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.

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

The HTTP method.

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

Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF , ERROR , and INFO . Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

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

Specifies whether Amazon CloudWatch metrics are enabled for this method.

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

The resource path for this method. Forward slashes (`/`) are encoded as `~1` and the initial slash must include a forward slash. For example, the path value `/resource/subresource` must be encoded as `/~1resource~1subresource`. To specify the root path, use only a slash (`/`).

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

Specifies the throttling burst limit.

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

Specifies the throttling rate limit.

Functions

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