published on Friday, Nov 20, 2026 by Pulumi
published on Friday, Nov 20, 2026 by Pulumi
An HTTPS endpoint with explicit routing to published Lambda Web Function revisions.
Create WebFunctionEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebFunctionEndpoint(name: string, args: WebFunctionEndpointArgs, opts?: ComponentResourceOptions);@overload
def WebFunctionEndpoint(resource_name: str,
args: WebFunctionEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebFunctionEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth_type: Optional[WebFunctionAuthType] = None,
function_name: Optional[str] = None,
revisions: Optional[Sequence[WebFunctionRevisionWeightArgs]] = None,
endpoint_name: Optional[str] = None,
endpoint_type: Optional[WebFunctionEndpointType] = None,
max_environments: Optional[float] = None,
regions: Optional[Sequence[str]] = None,
requests_per_second: Optional[float] = None)func NewWebFunctionEndpoint(ctx *Context, name string, args WebFunctionEndpointArgs, opts ...ResourceOption) (*WebFunctionEndpoint, error)public WebFunctionEndpoint(string name, WebFunctionEndpointArgs args, ComponentResourceOptions? opts = null)
public WebFunctionEndpoint(String name, WebFunctionEndpointArgs args)
public WebFunctionEndpoint(String name, WebFunctionEndpointArgs args, ComponentResourceOptions options)
type: awsx:lambda:WebFunctionEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "awsx_lambda_web_function_endpoint" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WebFunctionEndpointArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebFunctionEndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebFunctionEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebFunctionEndpointArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebFunctionEndpointArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var webFunctionEndpointResource = new Awsx.Lambda.WebFunctionEndpoint("webFunctionEndpointResource", new()
{
AuthType = Awsx.Lambda.WebFunctionAuthType.IAM,
FunctionName = "string",
Revisions = new[]
{
new Awsx.Lambda.Inputs.WebFunctionRevisionWeightArgs
{
RevisionId = "string",
Weight = 0.0,
},
},
EndpointName = "string",
EndpointType = Awsx.Lambda.WebFunctionEndpointType.HOME_REGION,
MaxEnvironments = 0.0,
Regions = new[]
{
"string",
},
RequestsPerSecond = 0.0,
});
example, err := lambda.NewWebFunctionEndpoint(ctx, "webFunctionEndpointResource", &lambda.WebFunctionEndpointArgs{
AuthType: lambda.WebFunctionAuthTypeIAM,
FunctionName: pulumi.String("string"),
Revisions: lambda.WebFunctionRevisionWeightArray{
&lambda.WebFunctionRevisionWeightArgs{
RevisionId: pulumi.String("string"),
Weight: pulumi.Float64(0),
},
},
EndpointName: pulumi.String("string"),
EndpointType: lambda.WebFunctionEndpointType_HOME_REGION,
MaxEnvironments: pulumi.Float64(0),
Regions: pulumi.StringArray{
pulumi.String("string"),
},
RequestsPerSecond: pulumi.Float64(0),
})
resource "awsx_lambda_web_function_endpoint" "webFunctionEndpointResource" {
lifecycle {
create_before_destroy = true
}
auth_type = "IamAuth"
function_name = "string"
revisions {
revision_id = "string"
weight = 0
}
endpoint_name = "string"
endpoint_type = "HomeRegion"
max_environments = 0
regions = ["string"]
requests_per_second = 0
}
var webFunctionEndpointResource = new WebFunctionEndpoint("webFunctionEndpointResource", WebFunctionEndpointArgs.builder()
.authType(com.pulumi.awsx.lambda.enums.WebFunctionAuthType.IAM)
.functionName("string")
.revisions(WebFunctionRevisionWeightArgs.builder()
.revisionId("string")
.weight(0.0)
.build())
.endpointName("string")
.endpointType(com.pulumi.awsx.lambda.enums.WebFunctionEndpointType.HOME_REGION)
.maxEnvironments(0.0)
.regions("string")
.requestsPerSecond(0.0)
.build());
web_function_endpoint_resource = awsx.lambda_.WebFunctionEndpoint("webFunctionEndpointResource",
auth_type=awsx.lambda_.WebFunctionAuthType.IAM,
function_name="string",
revisions=[{
"revision_id": "string",
"weight": float(0),
}],
endpoint_name="string",
endpoint_type=awsx.lambda_.WebFunctionEndpointType.HOM_E_REGION,
max_environments=float(0),
regions=["string"],
requests_per_second=float(0))
const webFunctionEndpointResource = new awsx.lambda.WebFunctionEndpoint("webFunctionEndpointResource", {
authType: awsx.lambda.WebFunctionAuthType.IAM,
functionName: "string",
revisions: [{
revisionId: "string",
weight: 0,
}],
endpointName: "string",
endpointType: awsx.lambda.WebFunctionEndpointType.HOME_REGION,
maxEnvironments: 0,
regions: ["string"],
requestsPerSecond: 0,
});
type: awsx:lambda:WebFunctionEndpoint
properties:
authType: IamAuth
endpointName: string
endpointType: HomeRegion
functionName: string
maxEnvironments: 0
regions:
- string
requestsPerSecond: 0
revisions:
- revisionId: string
weight: 0
WebFunctionEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WebFunctionEndpoint resource accepts the following input properties:
- Auth
Type Pulumi.Awsx. Lambda. Web Function Auth Type - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - Function
Name string - Name of the Web Function to serve.
- Revisions
List<Web
Function Revision Weight> Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- Endpoint
Name string Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- Endpoint
Type Pulumi.Awsx. Lambda. Web Function Endpoint Type HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- Max
Environments double Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- Regions List<string>
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- Requests
Per doubleSecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- Auth
Type WebFunction Auth Type - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - Function
Name string - Name of the Web Function to serve.
- Revisions
[]Web
Function Revision Weight Args Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- Endpoint
Name string Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- Endpoint
Type WebFunction Endpoint Type HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- Max
Environments float64 Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- Regions []string
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- Requests
Per float64Second Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- auth_
type "IamAuth" | "Application Managed" - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - function_
name string - Name of the Web Function to serve.
- revisions list(object)
Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- endpoint_
name string Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- endpoint_
type "HomeRegion" | "Multi Region" | "Per Region" HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- max_
environments number Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- regions list(string)
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- requests_
per_ numbersecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- auth
Type WebFunction Auth Type - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - function
Name String - Name of the Web Function to serve.
- revisions
List<Web
Function Revision Weight> Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- endpoint
Name String Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- endpoint
Type WebFunction Endpoint Type HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- max
Environments Double Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- regions List<String>
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- requests
Per DoubleSecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- auth
Type WebFunction Auth Type - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - function
Name string - Name of the Web Function to serve.
- revisions
Web
Function Revision Weight[] Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- endpoint
Name string Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- endpoint
Type WebFunction Endpoint Type HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- max
Environments number Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- regions string[]
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- requests
Per numberSecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- auth_
type WebFunction Auth Type - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - function_
name str - Name of the Web Function to serve.
- revisions
Sequence[Web
Function Revision Weight Args] Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- endpoint_
name str Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- endpoint_
type WebFunction Endpoint Type HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- max_
environments float Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- regions Sequence[str]
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- requests_
per_ floatsecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
- auth
Type "IamAuth" | "Application Managed" - Choose
IamAuthto let Lambda check whether the caller has permission. ChooseApplicationManagedto let anyone reach your app and handle access in your own code. - function
Name String - Name of the Web Function to serve.
- revisions List<Property Map>
Choose which revisions receive traffic.
To send all traffic to the app's current revision:
[{ revisionId: app.revisionId }];To send 10% of traffic to a candidate revision:
[ { revisionId: stableId, weight: 90 }, { revisionId: candidateId, weight: 10 }, ];When splitting traffic, use positive whole-number percentages that add up to 100.
- endpoint
Name String Physical endpoint name.
Default - Automatically named by the AWS Native provider.
- endpoint
Type "HomeRegion" | "Multi Region" | "Per Region" HomeRegion serves only the function's home Region. MultiRegion uses a single global URL with latency-based routing. PerRegion exposes a separate URL for each serving Region. Changing the endpoint type replaces the endpoint and can change its URLs.
Default - HomeRegion.
- max
Environments Number Maximum concurrent execution environments for the endpoint, from 2 through 10,000.
Default - No endpoint-specific cap; your account's vCPU quota applies.
- regions List<String>
For
MultiRegionorPerRegion, list at least one AWS Region besides the function's home Region. Lambda includes the home Region automatically.Adding or removing a serving Region requires a new endpoint with new URLs. The Web Function and its revisions stay in place. To keep serving traffic during the move, create a second endpoint and switch clients to it before removing the first one.
Default - No additional Regions.
- requests
Per NumberSecond Maximum requests per second for the endpoint. Use zero to reject all new requests. Otherwise use 100 through 1,000 in steps of 100 or 2,000 through 10,000 in steps of 1,000, subject to availability in your serving Regions.
Default - No endpoint-specific cap; your account's rate limit quota applies.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebFunctionEndpoint resource produces the following output properties:
- Endpoint
Arn string - ARN of the endpoint. Use it to scope IAM invocation permissions.
- Regional
Domain Dictionary<string, string>Names - Hostnames without
https://for individual serving Regions, keyed by Region code. - Domain
Name string - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- Endpoint
Arn string - ARN of the endpoint. Use it to scope IAM invocation permissions.
- Regional
Domain map[string]stringNames - Hostnames without
https://for individual serving Regions, keyed by Region code. - Domain
Name string - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- endpoint_
arn string - ARN of the endpoint. Use it to scope IAM invocation permissions.
- regional_
domain_ map(string)names - Hostnames without
https://for individual serving Regions, keyed by Region code. - domain_
name string - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- endpoint
Arn String - ARN of the endpoint. Use it to scope IAM invocation permissions.
- regional
Domain Map<String,String>Names - Hostnames without
https://for individual serving Regions, keyed by Region code. - domain
Name String - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- endpoint
Arn string - ARN of the endpoint. Use it to scope IAM invocation permissions.
- regional
Domain {[key: string]: string}Names - Hostnames without
https://for individual serving Regions, keyed by Region code. - domain
Name string - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- endpoint_
arn str - ARN of the endpoint. Use it to scope IAM invocation permissions.
- regional_
domain_ Mapping[str, str]names - Hostnames without
https://for individual serving Regions, keyed by Region code. - domain_
name str - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
- endpoint
Arn String - ARN of the endpoint. Use it to scope IAM invocation permissions.
- regional
Domain Map<String>Names - Hostnames without
https://for individual serving Regions, keyed by Region code. - domain
Name String - Hostname for a HomeRegion or MultiRegion endpoint, without
https://. For PerRegion use regionalDomainNames.
Supporting Types
WebFunctionAuthType
| Name | Value | Description |
|---|---|---|
| IAM | IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
| APPLICATION_MANAGED | ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Name | Value | Description |
|---|---|---|
| Web | IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
| Web | ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Value | Description |
|---|---|
IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Name | Value | Description |
|---|---|---|
| IAM | IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
| APPLICATION_MANAGED | ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Name | Value | Description |
|---|---|---|
| IAM | IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
| APPLICATION_MANAGED | ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Name | Value | Description |
|---|---|---|
| IAM | IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
| APPLICATIO_N_MANAGED | ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
| Value | Description |
|---|---|
IamAuth | Lambda checks that the caller has permission to invoke this endpoint using AWS credentials. |
ApplicationManaged | Anyone can reach the app at this URL. The app decides whether to require a login or token. |
WebFunctionEndpointType
| Name | Value | Description |
|---|---|---|
| HOME_REGION | HomeRegion | Serve traffic from the function's home Region only. |
| MULTI_REGION | MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
| PER_REGION | PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Name | Value | Description |
|---|---|---|
| Web | HomeRegion | Serve traffic from the function's home Region only. |
| Web | MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
| Web | PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Value | Description |
|---|---|
HomeRegion | Serve traffic from the function's home Region only. |
MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Name | Value | Description |
|---|---|---|
| HOME_REGION | HomeRegion | Serve traffic from the function's home Region only. |
| MULTI_REGION | MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
| PER_REGION | PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Name | Value | Description |
|---|---|---|
| HOME_REGION | HomeRegion | Serve traffic from the function's home Region only. |
| MULTI_REGION | MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
| PER_REGION | PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Name | Value | Description |
|---|---|---|
| HOM_E_REGION | HomeRegion | Serve traffic from the function's home Region only. |
| MULT_I_REGION | MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
| PE_R_REGION | PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
| Value | Description |
|---|---|
HomeRegion | Serve traffic from the function's home Region only. |
MultiRegion | Serve traffic at one global URL. Lambda routes callers by latency, without health-based failover. |
PerRegion | Get a URL for each serving Region and decide how to route callers yourself. |
WebFunctionRevisionWeight, WebFunctionRevisionWeightArgs
- Revision
Id string - ID of a published revision of the endpoint's function.
- Weight double
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- Revision
Id string - ID of a published revision of the endpoint's function.
- Weight float64
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- revision_
id string - ID of a published revision of the endpoint's function.
- weight number
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- revision
Id String - ID of a published revision of the endpoint's function.
- weight Double
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- revision
Id string - ID of a published revision of the endpoint's function.
- weight number
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- revision_
id str - ID of a published revision of the endpoint's function.
- weight float
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
- revision
Id String - ID of a published revision of the endpoint's function.
- weight Number
Integer percentage of traffic to send to this revision.
Default - 100 for a single revision. Required for each entry when splitting traffic.
Package Details
- Repository
- AWSx (Pulumi AWS Components) pulumi/pulumi-awsx
- License
- Apache-2.0
published on Friday, Nov 20, 2026 by Pulumi