1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. lambdaweb
  6. getFunctionEndpoint
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Provides details about an AWS Lambda Web function endpoint, including its HTTPS domain names.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.lambdaweb.getFunctionEndpoint({
        functionName: "example",
        endpointName: "default",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambdaweb.get_function_endpoint(function_name="example",
        endpoint_name="default")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambdaweb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lambdaweb.LookupFunctionEndpoint(ctx, &lambdaweb.LookupFunctionEndpointArgs{
    			FunctionName: "example",
    			EndpointName: "default",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.LambdaWeb.GetFunctionEndpoint.Invoke(new()
        {
            FunctionName = "example",
            EndpointName = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdaweb.LambdawebFunctions;
    import com.pulumi.aws.lambdaweb.inputs.GetFunctionEndpointArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = LambdawebFunctions.getFunctionEndpoint(GetFunctionEndpointArgs.builder()
                .functionName("example")
                .endpointName("default")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:lambdaweb:getFunctionEndpoint
          arguments:
            functionName: example
            endpointName: default
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_lambdaweb_function_endpoint" "example" {
      function_name = "example"
      endpoint_name = "default"
    }
    

    Using getFunctionEndpoint

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFunctionEndpoint(args: GetFunctionEndpointArgs, opts?: InvokeOptions): Promise<GetFunctionEndpointResult>
    function getFunctionEndpointOutput(args: GetFunctionEndpointOutputArgs, opts?: InvokeOutputOptions): Output<GetFunctionEndpointResult>
    def get_function_endpoint(endpoint_name: Optional[str] = None,
                              function_name: Optional[str] = None,
                              region: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFunctionEndpointResult
    def get_function_endpoint_output(endpoint_name: pulumi.Input[Optional[str]] = None,
                              function_name: pulumi.Input[Optional[str]] = None,
                              region: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetFunctionEndpointResult]
    func LookupFunctionEndpoint(ctx *Context, args *LookupFunctionEndpointArgs, opts ...InvokeOption) (*LookupFunctionEndpointResult, error)
    func LookupFunctionEndpointOutput(ctx *Context, args *LookupFunctionEndpointOutputArgs, opts ...InvokeOption) LookupFunctionEndpointResultOutput

    > Note: This function is named LookupFunctionEndpoint in the Go SDK.

    public static class GetFunctionEndpoint 
    {
        public static Task<GetFunctionEndpointResult> InvokeAsync(GetFunctionEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionEndpointResult> Invoke(GetFunctionEndpointInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionEndpointResult> Invoke(GetFunctionEndpointInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFunctionEndpointResult> getFunctionEndpoint(GetFunctionEndpointArgs args, InvokeOptions options)
    public static Output<GetFunctionEndpointResult> getFunctionEndpoint(GetFunctionEndpointArgs args, InvokeOptions options)
    public static Output<GetFunctionEndpointResult> getFunctionEndpoint(GetFunctionEndpointArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws:lambdaweb/getFunctionEndpoint:getFunctionEndpoint
      arguments:
        # arguments dictionary
    data "aws_lambdaweb_get_function_endpoint" "name" {
        # arguments
    }

    The following arguments are supported:

    EndpointName string
    Name of the endpoint.
    FunctionName string

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    EndpointName string
    Name of the endpoint.
    FunctionName string

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    endpoint_name string
    Name of the endpoint.
    function_name string

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    endpointName String
    Name of the endpoint.
    functionName String

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    endpointName string
    Name of the endpoint.
    functionName string

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    endpoint_name str
    Name of the endpoint.
    function_name str

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    endpointName String
    Name of the endpoint.
    functionName String

    Name of the function the endpoint belongs to.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getFunctionEndpoint Result

    The following output properties are available:

    Arn string
    ARN of the endpoint.
    AuthType string
    Authentication mode of the endpoint.
    AutoDeploymentMode string
    Deployment mode of the endpoint.
    Description string
    Description of the endpoint.
    DomainName string
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    EndpointName string
    EndpointType string
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    FunctionName string
    Region string
    RegionalDomainNames Dictionary<string, string>
    Map of Region to that Region's independent domain name.
    Regions List<string>
    Regions the endpoint spans.
    RevisionWeights List<GetFunctionEndpointRevisionWeight>
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    ScalingConfigs List<GetFunctionEndpointScalingConfig>
    Scaling limits of the endpoint. See below.
    State string
    Current state of the endpoint.
    StateReason string
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    ThrottleConfigs List<GetFunctionEndpointThrottleConfig>
    Request throttling of the endpoint. See below.
    Arn string
    ARN of the endpoint.
    AuthType string
    Authentication mode of the endpoint.
    AutoDeploymentMode string
    Deployment mode of the endpoint.
    Description string
    Description of the endpoint.
    DomainName string
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    EndpointName string
    EndpointType string
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    FunctionName string
    Region string
    RegionalDomainNames map[string]string
    Map of Region to that Region's independent domain name.
    Regions []string
    Regions the endpoint spans.
    RevisionWeights []GetFunctionEndpointRevisionWeight
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    ScalingConfigs []GetFunctionEndpointScalingConfig
    Scaling limits of the endpoint. See below.
    State string
    Current state of the endpoint.
    StateReason string
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    ThrottleConfigs []GetFunctionEndpointThrottleConfig
    Request throttling of the endpoint. See below.
    arn string
    ARN of the endpoint.
    auth_type string
    Authentication mode of the endpoint.
    auto_deployment_mode string
    Deployment mode of the endpoint.
    description string
    Description of the endpoint.
    domain_name string
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpoint_name string
    endpoint_type string
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    function_name string
    region string
    regional_domain_names map(string)
    Map of Region to that Region's independent domain name.
    regions list(string)
    Regions the endpoint spans.
    revision_weights list(object)
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    scaling_configs list(object)
    Scaling limits of the endpoint. See below.
    state string
    Current state of the endpoint.
    state_reason string
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    throttle_configs list(object)
    Request throttling of the endpoint. See below.
    arn String
    ARN of the endpoint.
    authType String
    Authentication mode of the endpoint.
    autoDeploymentMode String
    Deployment mode of the endpoint.
    description String
    Description of the endpoint.
    domainName String
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName String
    endpointType String
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    functionName String
    region String
    regionalDomainNames Map<String,String>
    Map of Region to that Region's independent domain name.
    regions List<String>
    Regions the endpoint spans.
    revisionWeights List<GetFunctionEndpointRevisionWeight>
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    scalingConfigs List<GetFunctionEndpointScalingConfig>
    Scaling limits of the endpoint. See below.
    state String
    Current state of the endpoint.
    stateReason String
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    throttleConfigs List<GetFunctionEndpointThrottleConfig>
    Request throttling of the endpoint. See below.
    arn string
    ARN of the endpoint.
    authType string
    Authentication mode of the endpoint.
    autoDeploymentMode string
    Deployment mode of the endpoint.
    description string
    Description of the endpoint.
    domainName string
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName string
    endpointType string
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    functionName string
    region string
    regionalDomainNames {[key: string]: string}
    Map of Region to that Region's independent domain name.
    regions string[]
    Regions the endpoint spans.
    revisionWeights GetFunctionEndpointRevisionWeight[]
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    scalingConfigs GetFunctionEndpointScalingConfig[]
    Scaling limits of the endpoint. See below.
    state string
    Current state of the endpoint.
    stateReason string
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    throttleConfigs GetFunctionEndpointThrottleConfig[]
    Request throttling of the endpoint. See below.
    arn str
    ARN of the endpoint.
    auth_type str
    Authentication mode of the endpoint.
    auto_deployment_mode str
    Deployment mode of the endpoint.
    description str
    Description of the endpoint.
    domain_name str
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpoint_name str
    endpoint_type str
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    function_name str
    region str
    regional_domain_names Mapping[str, str]
    Map of Region to that Region's independent domain name.
    regions Sequence[str]
    Regions the endpoint spans.
    revision_weights Sequence[GetFunctionEndpointRevisionWeight]
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    scaling_configs Sequence[GetFunctionEndpointScalingConfig]
    Scaling limits of the endpoint. See below.
    state str
    Current state of the endpoint.
    state_reason str
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    throttle_configs Sequence[GetFunctionEndpointThrottleConfig]
    Request throttling of the endpoint. See below.
    arn String
    ARN of the endpoint.
    authType String
    Authentication mode of the endpoint.
    autoDeploymentMode String
    Deployment mode of the endpoint.
    description String
    Description of the endpoint.
    domainName String
    HTTPS domain of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName String
    endpointType String
    Endpoint type (HomeRegion, MultiRegion or PerRegion).
    functionName String
    region String
    regionalDomainNames Map<String>
    Map of Region to that Region's independent domain name.
    regions List<String>
    Regions the endpoint spans.
    revisionWeights List<Property Map>
    Revisions the endpoint routes to, each with revisionId and weight. Under autoDeploymentMode = "Disabled" these are the weights a canary or blue/green shift set; under LatestRevision the service reports its own ephemeral routing.
    scalingConfigs List<Property Map>
    Scaling limits of the endpoint. See below.
    state String
    Current state of the endpoint.
    stateReason String
    Reason for the current state, which names the failing Region when a MultiRegion or PerRegion endpoint could not deploy everywhere.
    throttleConfigs List<Property Map>
    Request throttling of the endpoint. See below.

    Supporting Types

    GetFunctionEndpointRevisionWeight

    RevisionId string
    ID of the revision traffic is routed to.
    Weight int
    Percentage of traffic served by that revision.
    RevisionId string
    ID of the revision traffic is routed to.
    Weight int
    Percentage of traffic served by that revision.
    revision_id string
    ID of the revision traffic is routed to.
    weight number
    Percentage of traffic served by that revision.
    revisionId String
    ID of the revision traffic is routed to.
    weight Integer
    Percentage of traffic served by that revision.
    revisionId string
    ID of the revision traffic is routed to.
    weight number
    Percentage of traffic served by that revision.
    revision_id str
    ID of the revision traffic is routed to.
    weight int
    Percentage of traffic served by that revision.
    revisionId String
    ID of the revision traffic is routed to.
    weight Number
    Percentage of traffic served by that revision.

    GetFunctionEndpointScalingConfig

    MaxEnvironments int
    Maximum number of concurrent execution environments.
    MaxEnvironments int
    Maximum number of concurrent execution environments.
    max_environments number
    Maximum number of concurrent execution environments.
    maxEnvironments Integer
    Maximum number of concurrent execution environments.
    maxEnvironments number
    Maximum number of concurrent execution environments.
    max_environments int
    Maximum number of concurrent execution environments.
    maxEnvironments Number
    Maximum number of concurrent execution environments.

    GetFunctionEndpointThrottleConfig

    RateLimit int
    Maximum request rate, in requests per second.
    RateLimit int
    Maximum request rate, in requests per second.
    rate_limit number
    Maximum request rate, in requests per second.
    rateLimit Integer
    Maximum request rate, in requests per second.
    rateLimit number
    Maximum request rate, in requests per second.
    rate_limit int
    Maximum request rate, in requests per second.
    rateLimit Number
    Maximum request rate, in requests per second.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial