ServiceConfig

The service configuration for a web function revision, including execution role, timeout, concurrency, and telemetry settings.

Types

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

Properties

Link copied to clipboard

A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.

Link copied to clipboard

The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.

Link copied to clipboard

The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.

Link copied to clipboard

The telemetry configuration for the web function, including logging settings.

Link copied to clipboard

The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.

Functions

Link copied to clipboard
inline fun copy(block: ServiceConfig.Builder.() -> Unit = {}): ServiceConfig
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