ServiceConfig
¶
Used by
-
AsyncLambdaWebClient Operationscreate_web_function_revision -
LambdaWebClient Operationscreate_web_function_revision
Source code in docs_src/capo_lambda_web/types/service_config.py
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.