EndpointConfig
¶
Used by
-
AsyncLambdaWebClient Operationscreate_web_function -
LambdaWebClient Operationscreate_web_function
Source code in docs_src/capo_lambda_web/types/endpoint_config.py
auth_type
instance-attribute
¶
auth_type: AuthType
The authorization type for the endpoint.
Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
auto_deployment_mode
instance-attribute
¶
auto_deployment_mode: NotRequired[AutoDeploymentMode]
The auto-deployment mode for the endpoint. If you don't specify a value, the default is Disabled, and this default is returned in the response.
Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
description
instance-attribute
¶
description: NotRequired[Description]
A description of the endpoint.
endpoint_name
instance-attribute
¶
endpoint_name: EndpointName
The name of the endpoint. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.
endpoint_type
instance-attribute
¶
endpoint_type: EndpointType
The type of endpoint. Determines how traffic is served and routed across Regions.
Valid values:
-
HomeRegion– Serves traffic from the Region where you created the web function. -
MultiRegion– Replicates across the Regions that you choose and routes each request to the nearest one. -
PerRegion– Creates a separate endpoint in each Region that you choose.
regions
instance-attribute
¶
regions: NotRequired[RegionList]
The list of Regions for the endpoint. Required when the endpoint type is MultiRegion or PerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type is HomeRegion, omit this field or specify only the home Region.
scaling_config
instance-attribute
¶
scaling_config: NotRequired[ScalingConfig]
The scaling configuration for the endpoint.
throttle_config
instance-attribute
¶
throttle_config: NotRequired[ThrottleConfig]
The throttling configuration for the endpoint.