1. Registry
  2. Packages
  3. AWSx (Pulumi AWS Components)
  4. API Docs
  5. lambda
  6. WebFunctionEndpoint
Viewing docs for AWSx (Pulumi Components for AWS) v3.15.0
published on Friday, Nov 20, 2026 by Pulumi
awsx logo awsx logo AWSx (Pulumi Components for AWS)
Viewing docs for AWSx (Pulumi Components for AWS) v3.15.0
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:

    AuthType Pulumi.Awsx.Lambda.WebFunctionAuthType
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    FunctionName string
    Name of the Web Function to serve.
    Revisions List<WebFunctionRevisionWeight>

    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.

    EndpointName string

    Physical endpoint name.

    Default - Automatically named by the AWS Native provider.

    EndpointType Pulumi.Awsx.Lambda.WebFunctionEndpointType

    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.

    MaxEnvironments 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 MultiRegion or PerRegion, 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.

    RequestsPerSecond double

    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.

    AuthType WebFunctionAuthType
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    FunctionName string
    Name of the Web Function to serve.
    Revisions []WebFunctionRevisionWeightArgs

    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.

    EndpointName string

    Physical endpoint name.

    Default - Automatically named by the AWS Native provider.

    EndpointType WebFunctionEndpointType

    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.

    MaxEnvironments 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 MultiRegion or PerRegion, 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.

    RequestsPerSecond float64

    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" | "ApplicationManaged"
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to 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" | "MultiRegion" | "PerRegion"

    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 MultiRegion or PerRegion, 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_second number

    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.

    authType WebFunctionAuthType
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    functionName String
    Name of the Web Function to serve.
    revisions List<WebFunctionRevisionWeight>

    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.

    endpointName String

    Physical endpoint name.

    Default - Automatically named by the AWS Native provider.

    endpointType WebFunctionEndpointType

    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.

    maxEnvironments 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 MultiRegion or PerRegion, 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.

    requestsPerSecond Double

    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.

    authType WebFunctionAuthType
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    functionName string
    Name of the Web Function to serve.
    revisions WebFunctionRevisionWeight[]

    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.

    endpointName string

    Physical endpoint name.

    Default - Automatically named by the AWS Native provider.

    endpointType WebFunctionEndpointType

    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.

    maxEnvironments 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 MultiRegion or PerRegion, 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.

    requestsPerSecond number

    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 WebFunctionAuthType
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    function_name str
    Name of the Web Function to serve.
    revisions Sequence[WebFunctionRevisionWeightArgs]

    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 WebFunctionEndpointType

    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 MultiRegion or PerRegion, 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_second float

    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.

    authType "IamAuth" | "ApplicationManaged"
    Choose IamAuth to let Lambda check whether the caller has permission. Choose ApplicationManaged to let anyone reach your app and handle access in your own code.
    functionName 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.

    endpointName String

    Physical endpoint name.

    Default - Automatically named by the AWS Native provider.

    endpointType "HomeRegion" | "MultiRegion" | "PerRegion"

    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.

    maxEnvironments 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 MultiRegion or PerRegion, 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.

    requestsPerSecond Number

    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:

    EndpointArn string
    ARN of the endpoint. Use it to scope IAM invocation permissions.
    RegionalDomainNames Dictionary<string, string>
    Hostnames without https:// for individual serving Regions, keyed by Region code.
    DomainName string
    Hostname for a HomeRegion or MultiRegion endpoint, without https://. For PerRegion use regionalDomainNames.
    EndpointArn string
    ARN of the endpoint. Use it to scope IAM invocation permissions.
    RegionalDomainNames map[string]string
    Hostnames without https:// for individual serving Regions, keyed by Region code.
    DomainName 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_names map(string)
    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.
    endpointArn String
    ARN of the endpoint. Use it to scope IAM invocation permissions.
    regionalDomainNames Map<String,String>
    Hostnames without https:// for individual serving Regions, keyed by Region code.
    domainName String
    Hostname for a HomeRegion or MultiRegion endpoint, without https://. For PerRegion use regionalDomainNames.
    endpointArn string
    ARN of the endpoint. Use it to scope IAM invocation permissions.
    regionalDomainNames {[key: string]: string}
    Hostnames without https:// for individual serving Regions, keyed by Region code.
    domainName 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_names Mapping[str, str]
    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.
    endpointArn String
    ARN of the endpoint. Use it to scope IAM invocation permissions.
    regionalDomainNames Map<String>
    Hostnames without https:// for individual serving Regions, keyed by Region code.
    domainName String
    Hostname for a HomeRegion or MultiRegion endpoint, without https://. For PerRegion use regionalDomainNames.

    Supporting Types

    WebFunctionAuthType

    NameValueDescription
    IAMIamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    APPLICATION_MANAGEDApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    NameValueDescription
    WebFunctionAuthTypeIAMIamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    WebFunctionAuthType_APPLICATION_MANAGEDApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    ValueDescription
    IamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    ApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    NameValueDescription
    IAMIamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    APPLICATION_MANAGEDApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    NameValueDescription
    IAMIamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    APPLICATION_MANAGEDApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    NameValueDescription
    IAMIamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    APPLICATIO_N_MANAGEDApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.
    ValueDescription
    IamAuthLambda checks that the caller has permission to invoke this endpoint using AWS credentials.
    ApplicationManagedAnyone can reach the app at this URL. The app decides whether to require a login or token.

    WebFunctionEndpointType

    NameValueDescription
    HOME_REGIONHomeRegionServe traffic from the function's home Region only.
    MULTI_REGIONMultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PER_REGIONPerRegionGet a URL for each serving Region and decide how to route callers yourself.
    NameValueDescription
    WebFunctionEndpointType_HOME_REGIONHomeRegionServe traffic from the function's home Region only.
    WebFunctionEndpointType_MULTI_REGIONMultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    WebFunctionEndpointType_PER_REGIONPerRegionGet a URL for each serving Region and decide how to route callers yourself.
    ValueDescription
    HomeRegionServe traffic from the function's home Region only.
    MultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PerRegionGet a URL for each serving Region and decide how to route callers yourself.
    NameValueDescription
    HOME_REGIONHomeRegionServe traffic from the function's home Region only.
    MULTI_REGIONMultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PER_REGIONPerRegionGet a URL for each serving Region and decide how to route callers yourself.
    NameValueDescription
    HOME_REGIONHomeRegionServe traffic from the function's home Region only.
    MULTI_REGIONMultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PER_REGIONPerRegionGet a URL for each serving Region and decide how to route callers yourself.
    NameValueDescription
    HOM_E_REGIONHomeRegionServe traffic from the function's home Region only.
    MULT_I_REGIONMultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PE_R_REGIONPerRegionGet a URL for each serving Region and decide how to route callers yourself.
    ValueDescription
    HomeRegionServe traffic from the function's home Region only.
    MultiRegionServe traffic at one global URL. Lambda routes callers by latency, without health-based failover.
    PerRegionGet a URL for each serving Region and decide how to route callers yourself.

    WebFunctionRevisionWeight, WebFunctionRevisionWeightArgs

    RevisionId 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.

    RevisionId 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.

    revisionId 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.

    revisionId 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.

    revisionId 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
    awsx logo awsx logo AWSx (Pulumi Components for AWS)
    Viewing docs for AWSx (Pulumi Components for AWS) v3.15.0
    published on Friday, Nov 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial