Skip to content

ServiceConfig

Source code in docs_src/capo_lambda_web/types/service_config.py
class ServiceConfig(TypedDict, closed=True):
    execution_role_arn: "capo_lambda_web.types.role_arn.RoleArn"
    """<p>The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.</p>"""
    timeout_seconds: "int"
    """<p>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.</p>"""
    egress_network_connector_arn: NotRequired["str"]
    """<p>The Amazon Resource Name (ARN) of the Lambda network connector that gives the web function access to resources in your VPC. You must specify the fully qualified ARN, including the connector version, which pins the revision to that version. If the network connector is deleted, invocations of revisions that reference it fail. Revisions that specify a network connector support only <code>HomeRegion</code> endpoints, not <code>MultiRegion</code> or <code>PerRegion</code>.</p>"""
    max_concurrency_per_environment: "int"
    """<p>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.</p>"""
    environment_variables: NotRequired[
        "capo_lambda_web.types.environment_variables.EnvironmentVariables"
    ]
    """<p>A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.</p>"""
    telemetry_config: NotRequired[
        "capo_lambda_web.types.telemetry_config.TelemetryConfig"
    ]
    """<p>The telemetry configuration for the web function, including logging settings.</p>"""

egress_network_connector_arn instance-attribute

egress_network_connector_arn: NotRequired[str]

The Amazon Resource Name (ARN) of the Lambda network connector that gives the web function access to resources in your VPC. You must specify the fully qualified ARN, including the connector version, which pins the revision to that version. If the network connector is deleted, invocations of revisions that reference it fail. Revisions that specify a network connector support only HomeRegion endpoints, not MultiRegion or PerRegion.

environment_variables instance-attribute

environment_variables: NotRequired[EnvironmentVariables]

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

execution_role_arn instance-attribute

execution_role_arn: RoleArn

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

max_concurrency_per_environment instance-attribute

max_concurrency_per_environment: int

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.

telemetry_config instance-attribute

telemetry_config: NotRequired[TelemetryConfig]

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

timeout_seconds instance-attribute

timeout_seconds: int

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.