published on Friday, Nov 13, 2026 by Pulumi
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 dictionarydata "aws_lambdaweb_get_function_endpoint" "name" {
# arguments
}The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getFunctionEndpoint Result
The following output properties are available:
- Arn string
- ARN of the endpoint.
- Auth
Type string - Authentication mode of the endpoint.
- Auto
Deployment stringMode - Deployment mode of the endpoint.
- Description string
- Description of the endpoint.
- Domain
Name string - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - Endpoint
Name string - Endpoint
Type string - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - Function
Name string - Region string
- Regional
Domain Dictionary<string, string>Names - Map of Region to that Region's independent domain name.
- Regions List<string>
- Regions the endpoint spans.
- Revision
Weights List<GetFunction Endpoint Revision Weight> - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - Scaling
Configs List<GetFunction Endpoint Scaling Config> - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - Throttle
Configs List<GetFunction Endpoint Throttle Config> - Request throttling of the endpoint. See below.
- Arn string
- ARN of the endpoint.
- Auth
Type string - Authentication mode of the endpoint.
- Auto
Deployment stringMode - Deployment mode of the endpoint.
- Description string
- Description of the endpoint.
- Domain
Name string - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - Endpoint
Name string - Endpoint
Type string - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - Function
Name string - Region string
- Regional
Domain map[string]stringNames - Map of Region to that Region's independent domain name.
- Regions []string
- Regions the endpoint spans.
- Revision
Weights []GetFunction Endpoint Revision Weight - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - Scaling
Configs []GetFunction Endpoint Scaling Config - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - Throttle
Configs []GetFunction Endpoint Throttle Config - Request throttling of the endpoint. See below.
- arn string
- ARN of the endpoint.
- auth_
type string - Authentication mode of the endpoint.
- auto_
deployment_ stringmode - Deployment mode of the endpoint.
- description string
- Description of the endpoint.
- domain_
name string - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - endpoint_
name string - endpoint_
type string - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - function_
name string - region string
- regional_
domain_ map(string)names - 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
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - throttle_
configs list(object) - Request throttling of the endpoint. See below.
- arn String
- ARN of the endpoint.
- auth
Type String - Authentication mode of the endpoint.
- auto
Deployment StringMode - Deployment mode of the endpoint.
- description String
- Description of the endpoint.
- domain
Name String - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - endpoint
Name String - endpoint
Type String - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - function
Name String - region String
- regional
Domain Map<String,String>Names - Map of Region to that Region's independent domain name.
- regions List<String>
- Regions the endpoint spans.
- revision
Weights List<GetFunction Endpoint Revision Weight> - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - scaling
Configs List<GetFunction Endpoint Scaling Config> - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - throttle
Configs List<GetFunction Endpoint Throttle Config> - Request throttling of the endpoint. See below.
- arn string
- ARN of the endpoint.
- auth
Type string - Authentication mode of the endpoint.
- auto
Deployment stringMode - Deployment mode of the endpoint.
- description string
- Description of the endpoint.
- domain
Name string - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - endpoint
Name string - endpoint
Type string - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - function
Name string - region string
- regional
Domain {[key: string]: string}Names - Map of Region to that Region's independent domain name.
- regions string[]
- Regions the endpoint spans.
- revision
Weights GetFunction Endpoint Revision Weight[] - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - scaling
Configs GetFunction Endpoint Scaling Config[] - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - throttle
Configs GetFunction Endpoint Throttle Config[] - Request throttling of the endpoint. See below.
- arn str
- ARN of the endpoint.
- auth_
type str - Authentication mode of the endpoint.
- auto_
deployment_ strmode - Deployment mode of the endpoint.
- description str
- Description of the endpoint.
- domain_
name str - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - endpoint_
name str - endpoint_
type str - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - function_
name str - region str
- regional_
domain_ Mapping[str, str]names - Map of Region to that Region's independent domain name.
- regions Sequence[str]
- Regions the endpoint spans.
- revision_
weights Sequence[GetFunction Endpoint Revision Weight] - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - scaling_
configs Sequence[GetFunction Endpoint Scaling Config] - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - throttle_
configs Sequence[GetFunction Endpoint Throttle Config] - Request throttling of the endpoint. See below.
- arn String
- ARN of the endpoint.
- auth
Type String - Authentication mode of the endpoint.
- auto
Deployment StringMode - Deployment mode of the endpoint.
- description String
- Description of the endpoint.
- domain
Name String - HTTPS domain of the endpoint. Empty for
PerRegionendpoints, which only exposeregionalDomainNames. - endpoint
Name String - endpoint
Type String - Endpoint type (
HomeRegion,MultiRegionorPerRegion). - function
Name String - region String
- regional
Domain Map<String>Names - Map of Region to that Region's independent domain name.
- regions List<String>
- Regions the endpoint spans.
- revision
Weights List<Property Map> - Revisions the endpoint routes to, each with
revisionIdandweight. UnderautoDeploymentMode = "Disabled"these are the weights a canary or blue/green shift set; underLatestRevisionthe service reports its own ephemeral routing. - scaling
Configs List<Property Map> - 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
MultiRegionorPerRegionendpoint could not deploy everywhere. - throttle
Configs List<Property Map> - Request throttling of the endpoint. See below.
Supporting Types
GetFunctionEndpointRevisionWeight
- Revision
Id 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 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.
- revision
Id String - ID of the revision traffic is routed to.
- weight Integer
- 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.
- revision_
id str - 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.
GetFunctionEndpointScalingConfig
- Max
Environments int - Maximum number of concurrent execution environments.
- Max
Environments int - Maximum number of concurrent execution environments.
- max_
environments number - Maximum number of concurrent execution environments.
- max
Environments Integer - Maximum number of concurrent execution environments.
- max
Environments number - Maximum number of concurrent execution environments.
- max_
environments int - Maximum number of concurrent execution environments.
- max
Environments Number - Maximum number of concurrent execution environments.
GetFunctionEndpointThrottleConfig
- Rate
Limit int - Maximum request rate, in requests per second.
- Rate
Limit int - Maximum request rate, in requests per second.
- rate_
limit number - Maximum request rate, in requests per second.
- rate
Limit Integer - Maximum request rate, in requests per second.
- rate
Limit number - Maximum request rate, in requests per second.
- rate_
limit int - Maximum request rate, in requests per second.
- rate
Limit 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
awsTerraform Provider.
published on Friday, Nov 13, 2026 by Pulumi