1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. lambdaweb
  6. FunctionEndpoint
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

    Manages an AWS Lambda Web function endpoint. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lambdaweb.FunctionEndpoint("example", {
        functionName: exampleAwsLambdawebFunctionRevision.functionName,
        endpointName: "canary",
        endpointType: "HomeRegion",
        authType: "ApplicationManaged",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambdaweb.FunctionEndpoint("example",
        function_name=example_aws_lambdaweb_function_revision["functionName"],
        endpoint_name="canary",
        endpoint_type="HomeRegion",
        auth_type="ApplicationManaged")
    
    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.NewFunctionEndpoint(ctx, "example", &lambdaweb.FunctionEndpointArgs{
    			FunctionName: pulumi.Any(exampleAwsLambdawebFunctionRevision.FunctionName),
    			EndpointName: pulumi.String("canary"),
    			EndpointType: pulumi.String("HomeRegion"),
    			AuthType:     pulumi.String("ApplicationManaged"),
    		})
    		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 = new Aws.LambdaWeb.FunctionEndpoint("example", new()
        {
            FunctionName = exampleAwsLambdawebFunctionRevision.FunctionName,
            EndpointName = "canary",
            EndpointType = "HomeRegion",
            AuthType = "ApplicationManaged",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdaweb.FunctionEndpoint;
    import com.pulumi.aws.lambdaweb.FunctionEndpointArgs;
    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) {
            var example = new FunctionEndpoint("example", FunctionEndpointArgs.builder()
                .functionName(exampleAwsLambdawebFunctionRevision.get("functionName"))
                .endpointName("canary")
                .endpointType("HomeRegion")
                .authType("ApplicationManaged")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lambdaweb:FunctionEndpoint
        properties:
          functionName: ${exampleAwsLambdawebFunctionRevision.functionName}
          endpointName: canary
          endpointType: HomeRegion
          authType: ApplicationManaged
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_lambdaweb_function_endpoint" "example" {
      lifecycle {
        create_before_destroy = true
      }
      function_name = exampleAwsLambdawebFunctionRevision.functionName
      endpoint_name = "canary"
      endpoint_type = "HomeRegion"
      auth_type     = "ApplicationManaged"
    }
    

    Weighted (Canary) Routing

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lambdaweb.FunctionEndpoint("example", {
        revisionWeights: [
            {
                revisionId: exampleAwsLambdawebFunctionRevision[0].revisionId,
                weight: 90,
            },
            {
                revisionId: exampleAwsLambdawebFunctionRevision[1].revisionId,
                weight: 10,
            },
        ],
        functionName: exampleAwsLambdawebFunction.functionName,
        endpointName: "prod",
        endpointType: "MultiRegion",
        regions: [
            "us-east-1",
            "eu-west-1",
        ],
        authType: "IamAuth",
        autoDeploymentMode: "Disabled",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambdaweb.FunctionEndpoint("example",
        revision_weights=[
            {
                "revision_id": example_aws_lambdaweb_function_revision[0]["revisionId"],
                "weight": 90,
            },
            {
                "revision_id": example_aws_lambdaweb_function_revision[1]["revisionId"],
                "weight": 10,
            },
        ],
        function_name=example_aws_lambdaweb_function["functionName"],
        endpoint_name="prod",
        endpoint_type="MultiRegion",
        regions=[
            "us-east-1",
            "eu-west-1",
        ],
        auth_type="IamAuth",
        auto_deployment_mode="Disabled")
    
    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.NewFunctionEndpoint(ctx, "example", &lambdaweb.FunctionEndpointArgs{
    			RevisionWeights: lambdaweb.FunctionEndpointRevisionWeightArray{
    				&lambdaweb.FunctionEndpointRevisionWeightArgs{
    					RevisionId: pulumi.Any(exampleAwsLambdawebFunctionRevision[0].RevisionId),
    					Weight:     pulumi.Int(90),
    				},
    				&lambdaweb.FunctionEndpointRevisionWeightArgs{
    					RevisionId: pulumi.Any(exampleAwsLambdawebFunctionRevision[1].RevisionId),
    					Weight:     pulumi.Int(10),
    				},
    			},
    			FunctionName: pulumi.Any(exampleAwsLambdawebFunction.FunctionName),
    			EndpointName: pulumi.String("prod"),
    			EndpointType: pulumi.String("MultiRegion"),
    			Regions: pulumi.StringArray{
    				pulumi.String("us-east-1"),
    				pulumi.String("eu-west-1"),
    			},
    			AuthType:           pulumi.String("IamAuth"),
    			AutoDeploymentMode: pulumi.String("Disabled"),
    		})
    		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 = new Aws.LambdaWeb.FunctionEndpoint("example", new()
        {
            RevisionWeights = new[]
            {
                new Aws.LambdaWeb.Inputs.FunctionEndpointRevisionWeightArgs
                {
                    RevisionId = exampleAwsLambdawebFunctionRevision[0].RevisionId,
                    Weight = 90,
                },
                new Aws.LambdaWeb.Inputs.FunctionEndpointRevisionWeightArgs
                {
                    RevisionId = exampleAwsLambdawebFunctionRevision[1].RevisionId,
                    Weight = 10,
                },
            },
            FunctionName = exampleAwsLambdawebFunction.FunctionName,
            EndpointName = "prod",
            EndpointType = "MultiRegion",
            Regions = new[]
            {
                "us-east-1",
                "eu-west-1",
            },
            AuthType = "IamAuth",
            AutoDeploymentMode = "Disabled",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdaweb.FunctionEndpoint;
    import com.pulumi.aws.lambdaweb.FunctionEndpointArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionEndpointRevisionWeightArgs;
    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) {
            var example = new FunctionEndpoint("example", FunctionEndpointArgs.builder()
                .revisionWeights(            
                    FunctionEndpointRevisionWeightArgs.builder()
                        .revisionId(exampleAwsLambdawebFunctionRevision[0].get("revisionId"))
                        .weight(90)
                        .build(),
                    FunctionEndpointRevisionWeightArgs.builder()
                        .revisionId(exampleAwsLambdawebFunctionRevision[1].get("revisionId"))
                        .weight(10)
                        .build())
                .functionName(exampleAwsLambdawebFunction.get("functionName"))
                .endpointName("prod")
                .endpointType("MultiRegion")
                .regions(            
                    "us-east-1",
                    "eu-west-1")
                .authType("IamAuth")
                .autoDeploymentMode("Disabled")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lambdaweb:FunctionEndpoint
        properties:
          revisionWeights:
            - revisionId: ${exampleAwsLambdawebFunctionRevision[0].revisionId}
              weight: 90
            - revisionId: ${exampleAwsLambdawebFunctionRevision[1].revisionId}
              weight: 10
          functionName: ${exampleAwsLambdawebFunction.functionName}
          endpointName: prod
          endpointType: MultiRegion
          regions:
            - us-east-1
            - eu-west-1
          authType: IamAuth
          autoDeploymentMode: Disabled
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_lambdaweb_function_endpoint" "example" {
      lifecycle {
        create_before_destroy = true
      }
      revision_weight {
        revision_id = exampleAwsLambdawebFunctionRevision[0].revisionId
        weight      = 90
      }
      revision_weight {
        revision_id = exampleAwsLambdawebFunctionRevision[1].revisionId
        weight      = 10
      }
      function_name        = exampleAwsLambdawebFunction.functionName
      endpoint_name        = "prod"
      endpoint_type        = "MultiRegion"
      regions              = ["us-east-1", "eu-west-1"]
      auth_type            = "IamAuth"
      auto_deployment_mode = "Disabled"
    }
    

    Behind CloudFront

    An endpoint is a plain HTTPS origin, so a distribution can front it to add edge caching for static paths and terminate TLS closer to the viewer. Use domainName as the origin: on a MultiRegion endpoint it routes each request to the nearest deployed Region, and regionalDomainNames is empty because the service does not publish per-Region domains for that endpoint type.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const app = new aws.lambdaweb.FunctionEndpoint("app", {
        revisionWeights: [{
            revisionId: example[0].revisionId,
            weight: 100,
        }],
        functionName: exampleAwsLambdawebFunction.functionName,
        endpointName: "public",
        endpointType: "MultiRegion",
        regions: [
            "us-east-1",
            "eu-west-1",
        ],
        authType: "ApplicationManaged",
        autoDeploymentMode: "Disabled",
    });
    const disabled = aws.cloudfront.getCachePolicy({
        name: "Managed-CachingDisabled",
    });
    const allViewerExceptHost = aws.cloudfront.getOriginRequestPolicy({
        name: "Managed-AllViewerExceptHostHeader",
    });
    const appDistribution = new aws.cloudfront.Distribution("app", {
        defaultCacheBehavior: {
            targetOriginId: "lambdaweb",
            viewerProtocolPolicy: "redirect-to-https",
            allowedMethods: [
                "GET",
                "HEAD",
                "OPTIONS",
                "PUT",
                "POST",
                "PATCH",
                "DELETE",
            ],
            cachedMethods: [
                "GET",
                "HEAD",
            ],
            cachePolicyId: disabled.then(disabled => disabled.id),
            originRequestPolicyId: allViewerExceptHost.then(allViewerExceptHost => allViewerExceptHost.id),
        },
        restrictions: {
            geoRestriction: {
                restrictionType: "none",
            },
        },
        viewerCertificate: {
            cloudfrontDefaultCertificate: true,
        },
        origins: [{
            customOriginConfig: {
                originProtocolPolicy: "https-only",
                originSslProtocols: ["TLSv1.2"],
                httpPort: 80,
                httpsPort: 443,
            },
            originId: "lambdaweb",
            domainName: app.domainName,
        }],
        enabled: true,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    app = aws.lambdaweb.FunctionEndpoint("app",
        revision_weights=[{
            "revision_id": example[0]["revisionId"],
            "weight": 100,
        }],
        function_name=example_aws_lambdaweb_function["functionName"],
        endpoint_name="public",
        endpoint_type="MultiRegion",
        regions=[
            "us-east-1",
            "eu-west-1",
        ],
        auth_type="ApplicationManaged",
        auto_deployment_mode="Disabled")
    disabled = aws.cloudfront.get_cache_policy(name="Managed-CachingDisabled")
    all_viewer_except_host = aws.cloudfront.get_origin_request_policy(name="Managed-AllViewerExceptHostHeader")
    app_distribution = aws.cloudfront.Distribution("app",
        default_cache_behavior={
            "target_origin_id": "lambdaweb",
            "viewer_protocol_policy": "redirect-to-https",
            "allowed_methods": [
                "GET",
                "HEAD",
                "OPTIONS",
                "PUT",
                "POST",
                "PATCH",
                "DELETE",
            ],
            "cached_methods": [
                "GET",
                "HEAD",
            ],
            "cache_policy_id": disabled.id,
            "origin_request_policy_id": all_viewer_except_host.id,
        },
        restrictions={
            "geo_restriction": {
                "restriction_type": "none",
            },
        },
        viewer_certificate={
            "cloudfront_default_certificate": True,
        },
        origins=[{
            "custom_origin_config": {
                "origin_protocol_policy": "https-only",
                "origin_ssl_protocols": ["TLSv1.2"],
                "http_port": 80,
                "https_port": 443,
            },
            "origin_id": "lambdaweb",
            "domain_name": app.domain_name,
        }],
        enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudfront"
    	"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 {
    		app, err := lambdaweb.NewFunctionEndpoint(ctx, "app", &lambdaweb.FunctionEndpointArgs{
    			RevisionWeights: lambdaweb.FunctionEndpointRevisionWeightArray{
    				&lambdaweb.FunctionEndpointRevisionWeightArgs{
    					RevisionId: pulumi.Any(example[0].RevisionId),
    					Weight:     pulumi.Int(100),
    				},
    			},
    			FunctionName: pulumi.Any(exampleAwsLambdawebFunction.FunctionName),
    			EndpointName: pulumi.String("public"),
    			EndpointType: pulumi.String("MultiRegion"),
    			Regions: pulumi.StringArray{
    				pulumi.String("us-east-1"),
    				pulumi.String("eu-west-1"),
    			},
    			AuthType:           pulumi.String("ApplicationManaged"),
    			AutoDeploymentMode: pulumi.String("Disabled"),
    		})
    		if err != nil {
    			return err
    		}
    		disabled, err := cloudfront.LookupCachePolicy(ctx, &cloudfront.LookupCachePolicyArgs{
    			Name: pulumi.StringRef("Managed-CachingDisabled"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		allViewerExceptHost, err := cloudfront.LookupOriginRequestPolicy(ctx, &cloudfront.LookupOriginRequestPolicyArgs{
    			Name: pulumi.StringRef("Managed-AllViewerExceptHostHeader"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = cloudfront.NewDistribution(ctx, "app", &cloudfront.DistributionArgs{
    			DefaultCacheBehavior: &cloudfront.DistributionDefaultCacheBehaviorArgs{
    				TargetOriginId:       pulumi.String("lambdaweb"),
    				ViewerProtocolPolicy: pulumi.String("redirect-to-https"),
    				AllowedMethods: pulumi.StringArray{
    					pulumi.String("GET"),
    					pulumi.String("HEAD"),
    					pulumi.String("OPTIONS"),
    					pulumi.String("PUT"),
    					pulumi.String("POST"),
    					pulumi.String("PATCH"),
    					pulumi.String("DELETE"),
    				},
    				CachedMethods: pulumi.StringArray{
    					pulumi.String("GET"),
    					pulumi.String("HEAD"),
    				},
    				CachePolicyId:         pulumi.String(disabled.Id),
    				OriginRequestPolicyId: pulumi.String(allViewerExceptHost.Id),
    			},
    			Restrictions: &cloudfront.DistributionRestrictionsArgs{
    				GeoRestriction: &cloudfront.DistributionRestrictionsGeoRestrictionArgs{
    					RestrictionType: pulumi.String("none"),
    				},
    			},
    			ViewerCertificate: &cloudfront.DistributionViewerCertificateArgs{
    				CloudfrontDefaultCertificate: pulumi.Bool(true),
    			},
    			Origins: cloudfront.DistributionOriginArray{
    				&cloudfront.DistributionOriginArgs{
    					CustomOriginConfig: &cloudfront.DistributionOriginCustomOriginConfigArgs{
    						OriginProtocolPolicy: pulumi.String("https-only"),
    						OriginSslProtocols: pulumi.StringArray{
    							pulumi.String("TLSv1.2"),
    						},
    						HttpPort:  pulumi.Int(80),
    						HttpsPort: pulumi.Int(443),
    					},
    					OriginId:   pulumi.String("lambdaweb"),
    					DomainName: app.DomainName,
    				},
    			},
    			Enabled: pulumi.Bool(true),
    		})
    		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 app = new Aws.LambdaWeb.FunctionEndpoint("app", new()
        {
            RevisionWeights = new[]
            {
                new Aws.LambdaWeb.Inputs.FunctionEndpointRevisionWeightArgs
                {
                    RevisionId = example[0].RevisionId,
                    Weight = 100,
                },
            },
            FunctionName = exampleAwsLambdawebFunction.FunctionName,
            EndpointName = "public",
            EndpointType = "MultiRegion",
            Regions = new[]
            {
                "us-east-1",
                "eu-west-1",
            },
            AuthType = "ApplicationManaged",
            AutoDeploymentMode = "Disabled",
        });
    
        var disabled = Aws.CloudFront.GetCachePolicy.Invoke(new()
        {
            Name = "Managed-CachingDisabled",
        });
    
        var allViewerExceptHost = Aws.CloudFront.GetOriginRequestPolicy.Invoke(new()
        {
            Name = "Managed-AllViewerExceptHostHeader",
        });
    
        var appDistribution = new Aws.CloudFront.Distribution("app", new()
        {
            DefaultCacheBehavior = new Aws.CloudFront.Inputs.DistributionDefaultCacheBehaviorArgs
            {
                TargetOriginId = "lambdaweb",
                ViewerProtocolPolicy = "redirect-to-https",
                AllowedMethods = new[]
                {
                    "GET",
                    "HEAD",
                    "OPTIONS",
                    "PUT",
                    "POST",
                    "PATCH",
                    "DELETE",
                },
                CachedMethods = new[]
                {
                    "GET",
                    "HEAD",
                },
                CachePolicyId = disabled.Apply(getCachePolicyResult => getCachePolicyResult.Id),
                OriginRequestPolicyId = allViewerExceptHost.Apply(getOriginRequestPolicyResult => getOriginRequestPolicyResult.Id),
            },
            Restrictions = new Aws.CloudFront.Inputs.DistributionRestrictionsArgs
            {
                GeoRestriction = new Aws.CloudFront.Inputs.DistributionRestrictionsGeoRestrictionArgs
                {
                    RestrictionType = "none",
                },
            },
            ViewerCertificate = new Aws.CloudFront.Inputs.DistributionViewerCertificateArgs
            {
                CloudfrontDefaultCertificate = true,
            },
            Origins = new[]
            {
                new Aws.CloudFront.Inputs.DistributionOriginArgs
                {
                    CustomOriginConfig = new Aws.CloudFront.Inputs.DistributionOriginCustomOriginConfigArgs
                    {
                        OriginProtocolPolicy = "https-only",
                        OriginSslProtocols = new[]
                        {
                            "TLSv1.2",
                        },
                        HttpPort = 80,
                        HttpsPort = 443,
                    },
                    OriginId = "lambdaweb",
                    DomainName = app.DomainName,
                },
            },
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdaweb.FunctionEndpoint;
    import com.pulumi.aws.lambdaweb.FunctionEndpointArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionEndpointRevisionWeightArgs;
    import com.pulumi.aws.cloudfront.CloudfrontFunctions;
    import com.pulumi.aws.cloudfront.inputs.GetCachePolicyArgs;
    import com.pulumi.aws.cloudfront.inputs.GetOriginRequestPolicyArgs;
    import com.pulumi.aws.cloudfront.Distribution;
    import com.pulumi.aws.cloudfront.DistributionArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionDefaultCacheBehaviorArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionRestrictionsArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionRestrictionsGeoRestrictionArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionViewerCertificateArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionOriginArgs;
    import com.pulumi.aws.cloudfront.inputs.DistributionOriginCustomOriginConfigArgs;
    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) {
            var app = new FunctionEndpoint("app", FunctionEndpointArgs.builder()
                .revisionWeights(FunctionEndpointRevisionWeightArgs.builder()
                    .revisionId(example[0].get("revisionId"))
                    .weight(100)
                    .build())
                .functionName(exampleAwsLambdawebFunction.get("functionName"))
                .endpointName("public")
                .endpointType("MultiRegion")
                .regions(            
                    "us-east-1",
                    "eu-west-1")
                .authType("ApplicationManaged")
                .autoDeploymentMode("Disabled")
                .build());
    
            final var disabled = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
                .name("Managed-CachingDisabled")
                .build());
    
            final var allViewerExceptHost = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
                .name("Managed-AllViewerExceptHostHeader")
                .build());
    
            var appDistribution = new Distribution("appDistribution", DistributionArgs.builder()
                .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
                    .targetOriginId("lambdaweb")
                    .viewerProtocolPolicy("redirect-to-https")
                    .allowedMethods(                
                        "GET",
                        "HEAD",
                        "OPTIONS",
                        "PUT",
                        "POST",
                        "PATCH",
                        "DELETE")
                    .cachedMethods(                
                        "GET",
                        "HEAD")
                    .cachePolicyId(disabled.id())
                    .originRequestPolicyId(allViewerExceptHost.id())
                    .build())
                .restrictions(DistributionRestrictionsArgs.builder()
                    .geoRestriction(DistributionRestrictionsGeoRestrictionArgs.builder()
                        .restrictionType("none")
                        .build())
                    .build())
                .viewerCertificate(DistributionViewerCertificateArgs.builder()
                    .cloudfrontDefaultCertificate(true)
                    .build())
                .origins(DistributionOriginArgs.builder()
                    .customOriginConfig(DistributionOriginCustomOriginConfigArgs.builder()
                        .originProtocolPolicy("https-only")
                        .originSslProtocols("TLSv1.2")
                        .httpPort(80)
                        .httpsPort(443)
                        .build())
                    .originId("lambdaweb")
                    .domainName(app.domainName())
                    .build())
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      app:
        type: aws:lambdaweb:FunctionEndpoint
        properties:
          revisionWeights:
            - revisionId: ${example[0].revisionId}
              weight: 100
          functionName: ${exampleAwsLambdawebFunction.functionName}
          endpointName: public
          endpointType: MultiRegion
          regions:
            - us-east-1
            - eu-west-1
          authType: ApplicationManaged
          autoDeploymentMode: Disabled
      appDistribution:
        type: aws:cloudfront:Distribution
        name: app
        properties:
          defaultCacheBehavior:
            targetOriginId: lambdaweb
            viewerProtocolPolicy: redirect-to-https
            allowedMethods:
              - GET
              - HEAD
              - OPTIONS
              - PUT
              - POST
              - PATCH
              - DELETE
            cachedMethods:
              - GET
              - HEAD
            cachePolicyId: ${disabled.id}
            originRequestPolicyId: ${allViewerExceptHost.id}
          restrictions:
            geoRestriction:
              restrictionType: none
          viewerCertificate:
            cloudfrontDefaultCertificate: true
          origins:
            - customOriginConfig:
                originProtocolPolicy: https-only
                originSslProtocols:
                  - TLSv1.2
                httpPort: 80
                httpsPort: 443
              originId: lambdaweb
              domainName: ${app.domainName}
          enabled: true
    variables:
      disabled:
        fn::invoke:
          function: aws:cloudfront:getCachePolicy
          arguments:
            name: Managed-CachingDisabled
      allViewerExceptHost:
        fn::invoke:
          function: aws:cloudfront:getOriginRequestPolicy
          arguments:
            name: Managed-AllViewerExceptHostHeader
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_cloudfront_cache_policy" "disabled" {
      name = "Managed-CachingDisabled"
    }
    data "aws_cloudfront_origin_request_policy" "allViewerExceptHost" {
      name = "Managed-AllViewerExceptHostHeader"
    }
    
    resource "aws_lambdaweb_function_endpoint" "app" {
      lifecycle {
        create_before_destroy = true
      }
      revision_weight {
        revision_id = example[0].revisionId
        weight      = 100
      }
      function_name        = exampleAwsLambdawebFunction.functionName
      endpoint_name        = "public"
      endpoint_type        = "MultiRegion"
      regions              = ["us-east-1", "eu-west-1"]
      auth_type            = "ApplicationManaged"
      auto_deployment_mode = "Disabled"
    }
    resource "aws_cloudfront_distribution" "app" {
      lifecycle {
        create_before_destroy = true
      }
      default_cache_behavior {
        target_origin_id         = "lambdaweb"
        viewer_protocol_policy   = "redirect-to-https"
        allowed_methods          = ["GET", "HEAD", "OPTIONS", "PUT", "POST", "PATCH", "DELETE"]
        cached_methods           = ["GET", "HEAD"]
        cache_policy_id          = data.aws_cloudfront_cache_policy.disabled.id
        origin_request_policy_id = data.aws_cloudfront_origin_request_policy.allViewerExceptHost.id
      }
      # The endpoint routes on its own domain, so the viewer Host header must not
      # be forwarded, and dynamic responses must not be cached.
      restrictions {
        geo_restriction {
          restriction_type = "none"
        }
      }
      viewer_certificate {
        cloudfront_default_certificate = true
      }
      origin {
        custom_origin_config {
          origin_protocol_policy = "https-only"
          origin_ssl_protocols   = ["TLSv1.2"]
          http_port              = 80
          https_port             = 443
        }
        origin_id   = "lambdaweb"
        domain_name = aws_lambdaweb_function_endpoint.app.domain_name
      }
      enabled = true
    }
    

    Note: Do not set defaultRootObject on a distribution that fronts a web function. CloudFront rewrites / to that object after viewer-request functions run, which frameworks that own their routing answer with a 404.

    Streaming survives the extra hop: a Server-Sent Events response is relayed without buffering. Origin groups, on the other hand, reject behaviors that allow write methods, so a failover group can only serve the read paths and writes need a behavior pointing at a single origin. A PerRegion endpoint is the one that publishes regionalDomainNames, which is what an origin group needs for its primary and failover members.

    Create FunctionEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FunctionEndpoint(name: string, args: FunctionEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def FunctionEndpoint(resource_name: str,
                         args: FunctionEndpointArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def FunctionEndpoint(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         auth_type: Optional[str] = None,
                         endpoint_name: Optional[str] = None,
                         endpoint_type: Optional[str] = None,
                         function_name: Optional[str] = None,
                         auto_deployment_mode: Optional[str] = None,
                         description: Optional[str] = None,
                         region: Optional[str] = None,
                         regions: Optional[Sequence[str]] = None,
                         revision_weights: Optional[Sequence[FunctionEndpointRevisionWeightArgs]] = None,
                         scaling_config: Optional[FunctionEndpointScalingConfigArgs] = None,
                         throttle_config: Optional[FunctionEndpointThrottleConfigArgs] = None,
                         timeouts: Optional[FunctionEndpointTimeoutsArgs] = None)
    func NewFunctionEndpoint(ctx *Context, name string, args FunctionEndpointArgs, opts ...ResourceOption) (*FunctionEndpoint, error)
    public FunctionEndpoint(string name, FunctionEndpointArgs args, CustomResourceOptions? opts = null)
    public FunctionEndpoint(String name, FunctionEndpointArgs args)
    public FunctionEndpoint(String name, FunctionEndpointArgs args, CustomResourceOptions options)
    
    type: aws:lambdaweb:FunctionEndpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_lambdaweb_function_endpoint" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FunctionEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FunctionEndpointArgs
    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 FunctionEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FunctionEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FunctionEndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var functionEndpointResource = new Aws.LambdaWeb.FunctionEndpoint("functionEndpointResource", new()
    {
        AuthType = "string",
        EndpointName = "string",
        EndpointType = "string",
        FunctionName = "string",
        AutoDeploymentMode = "string",
        Description = "string",
        Region = "string",
        Regions = new[]
        {
            "string",
        },
        RevisionWeights = new[]
        {
            new Aws.LambdaWeb.Inputs.FunctionEndpointRevisionWeightArgs
            {
                RevisionId = "string",
                Weight = 0,
            },
        },
        ScalingConfig = new Aws.LambdaWeb.Inputs.FunctionEndpointScalingConfigArgs
        {
            MaxEnvironments = 0,
        },
        ThrottleConfig = new Aws.LambdaWeb.Inputs.FunctionEndpointThrottleConfigArgs
        {
            RateLimit = 0,
        },
        Timeouts = new Aws.LambdaWeb.Inputs.FunctionEndpointTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := lambdaweb.NewFunctionEndpoint(ctx, "functionEndpointResource", &lambdaweb.FunctionEndpointArgs{
    	AuthType:           pulumi.String("string"),
    	EndpointName:       pulumi.String("string"),
    	EndpointType:       pulumi.String("string"),
    	FunctionName:       pulumi.String("string"),
    	AutoDeploymentMode: pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	Region:             pulumi.String("string"),
    	Regions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RevisionWeights: lambdaweb.FunctionEndpointRevisionWeightArray{
    		&lambdaweb.FunctionEndpointRevisionWeightArgs{
    			RevisionId: pulumi.String("string"),
    			Weight:     pulumi.Int(0),
    		},
    	},
    	ScalingConfig: &lambdaweb.FunctionEndpointScalingConfigArgs{
    		MaxEnvironments: pulumi.Int(0),
    	},
    	ThrottleConfig: &lambdaweb.FunctionEndpointThrottleConfigArgs{
    		RateLimit: pulumi.Int(0),
    	},
    	Timeouts: &lambdaweb.FunctionEndpointTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aws_lambdaweb_function_endpoint" "functionEndpointResource" {
      lifecycle {
        create_before_destroy = true
      }
      auth_type            = "string"
      endpoint_name        = "string"
      endpoint_type        = "string"
      function_name        = "string"
      auto_deployment_mode = "string"
      description          = "string"
      region               = "string"
      regions              = ["string"]
      revision_weights {
        revision_id = "string"
        weight      = 0
      }
      scaling_config = {
        max_environments = 0
      }
      throttle_config = {
        rate_limit = 0
      }
      _ {
        timeouts = {
          create = "string"
          delete = "string"
          update = "string"
        }
      }
    }
    
    var functionEndpointResource = new FunctionEndpoint("functionEndpointResource", FunctionEndpointArgs.builder()
        .authType("string")
        .endpointName("string")
        .endpointType("string")
        .functionName("string")
        .autoDeploymentMode("string")
        .description("string")
        .region("string")
        .regions("string")
        .revisionWeights(FunctionEndpointRevisionWeightArgs.builder()
            .revisionId("string")
            .weight(0)
            .build())
        .scalingConfig(FunctionEndpointScalingConfigArgs.builder()
            .maxEnvironments(0)
            .build())
        .throttleConfig(FunctionEndpointThrottleConfigArgs.builder()
            .rateLimit(0)
            .build())
        .timeouts(FunctionEndpointTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    function_endpoint_resource = aws.lambdaweb.FunctionEndpoint("functionEndpointResource",
        auth_type="string",
        endpoint_name="string",
        endpoint_type="string",
        function_name="string",
        auto_deployment_mode="string",
        description="string",
        region="string",
        regions=["string"],
        revision_weights=[{
            "revision_id": "string",
            "weight": 0,
        }],
        scaling_config={
            "max_environments": 0,
        },
        throttle_config={
            "rate_limit": 0,
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const functionEndpointResource = new aws.lambdaweb.FunctionEndpoint("functionEndpointResource", {
        authType: "string",
        endpointName: "string",
        endpointType: "string",
        functionName: "string",
        autoDeploymentMode: "string",
        description: "string",
        region: "string",
        regions: ["string"],
        revisionWeights: [{
            revisionId: "string",
            weight: 0,
        }],
        scalingConfig: {
            maxEnvironments: 0,
        },
        throttleConfig: {
            rateLimit: 0,
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:lambdaweb:FunctionEndpoint
    properties:
        authType: string
        autoDeploymentMode: string
        description: string
        endpointName: string
        endpointType: string
        functionName: string
        region: string
        regions:
            - string
        revisionWeights:
            - revisionId: string
              weight: 0
        scalingConfig:
            maxEnvironments: 0
        throttleConfig:
            rateLimit: 0
        timeouts:
            create: string
            delete: string
            update: string
    

    FunctionEndpoint 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 FunctionEndpoint resource accepts the following input properties:

    AuthType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    EndpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    EndpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    FunctionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    AutoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    Description string
    Description of the endpoint.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Regions List<string>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    RevisionWeights List<FunctionEndpointRevisionWeight>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    ScalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    ThrottleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    Timeouts FunctionEndpointTimeouts
    AuthType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    EndpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    EndpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    FunctionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    AutoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    Description string
    Description of the endpoint.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Regions []string
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    RevisionWeights []FunctionEndpointRevisionWeightArgs
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    ScalingConfig FunctionEndpointScalingConfigArgs
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    ThrottleConfig FunctionEndpointThrottleConfigArgs
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    Timeouts FunctionEndpointTimeoutsArgs
    auth_type string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    endpoint_name string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpoint_type string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    function_name string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    auto_deployment_mode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description string
    Description of the endpoint.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regions list(string)
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revision_weights list(object)
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scaling_config object
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttle_config object
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts object
    authType String
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    endpointName String
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType String
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName String

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    autoDeploymentMode String
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description String
    Description of the endpoint.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regions List<String>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights List<FunctionEndpointRevisionWeight>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeouts
    authType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    endpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    autoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description string
    Description of the endpoint.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regions string[]
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights FunctionEndpointRevisionWeight[]
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeouts
    auth_type str
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    endpoint_name str
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpoint_type str
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    function_name str

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    auto_deployment_mode str
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description str
    Description of the endpoint.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regions Sequence[str]
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revision_weights Sequence[FunctionEndpointRevisionWeightArgs]
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scaling_config FunctionEndpointScalingConfigArgs
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttle_config FunctionEndpointThrottleConfigArgs
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeoutsArgs
    authType String
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    endpointName String
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType String
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName String

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    autoDeploymentMode String
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description String
    Description of the endpoint.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regions List<String>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights List<Property Map>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig Property Map
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig Property Map
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FunctionEndpoint resource produces the following output properties:

    Arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    DomainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionalDomainNames Dictionary<string, string>
    Map of Region to that Region's independent domain name.
    Arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    DomainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionalDomainNames map[string]string
    Map of Region to that Region's independent domain name.
    arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    domain_name string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    id string
    The provider-assigned unique ID for this managed resource.
    regional_domain_names map(string)
    Map of Region to that Region's independent domain name.
    arn String
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    domainName String
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    id String
    The provider-assigned unique ID for this managed resource.
    regionalDomainNames Map<String,String>
    Map of Region to that Region's independent domain name.
    arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    domainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    id string
    The provider-assigned unique ID for this managed resource.
    regionalDomainNames {[key: string]: string}
    Map of Region to that Region's independent domain name.
    arn str
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    domain_name str
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    id str
    The provider-assigned unique ID for this managed resource.
    regional_domain_names Mapping[str, str]
    Map of Region to that Region's independent domain name.
    arn String
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    domainName String
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    id String
    The provider-assigned unique ID for this managed resource.
    regionalDomainNames Map<String>
    Map of Region to that Region's independent domain name.

    Look up Existing FunctionEndpoint Resource

    Get an existing FunctionEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FunctionEndpointState, opts?: CustomResourceOptions): FunctionEndpoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            auth_type: Optional[str] = None,
            auto_deployment_mode: Optional[str] = None,
            description: Optional[str] = None,
            domain_name: Optional[str] = None,
            endpoint_name: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            function_name: Optional[str] = None,
            region: Optional[str] = None,
            regional_domain_names: Optional[Mapping[str, str]] = None,
            regions: Optional[Sequence[str]] = None,
            revision_weights: Optional[Sequence[FunctionEndpointRevisionWeightArgs]] = None,
            scaling_config: Optional[FunctionEndpointScalingConfigArgs] = None,
            throttle_config: Optional[FunctionEndpointThrottleConfigArgs] = None,
            timeouts: Optional[FunctionEndpointTimeoutsArgs] = None) -> FunctionEndpoint
    func GetFunctionEndpoint(ctx *Context, name string, id IDInput, state *FunctionEndpointState, opts ...ResourceOption) (*FunctionEndpoint, error)
    public static FunctionEndpoint Get(string name, Input<string> id, FunctionEndpointState? state, CustomResourceOptions? opts = null)
    public static FunctionEndpoint get(String name, Output<String> id, FunctionEndpointState state, CustomResourceOptions options)
    resources:  existingFunctionEndpoint:    type: aws:lambdaweb:FunctionEndpoint    get:      id: ${id}
    import {
      to = aws_lambdaweb_function_endpoint.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state FunctionEndpointState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state FunctionEndpointState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state FunctionEndpointState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state FunctionEndpointState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    AuthType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    AutoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    Description string
    Description of the endpoint.
    DomainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    EndpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    EndpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    FunctionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RegionalDomainNames Dictionary<string, string>
    Map of Region to that Region's independent domain name.
    Regions List<string>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    RevisionWeights List<FunctionEndpointRevisionWeight>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    ScalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    ThrottleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    Timeouts FunctionEndpointTimeouts
    Arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    AuthType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    AutoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    Description string
    Description of the endpoint.
    DomainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    EndpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    EndpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    FunctionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RegionalDomainNames map[string]string
    Map of Region to that Region's independent domain name.
    Regions []string
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    RevisionWeights []FunctionEndpointRevisionWeightArgs
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    ScalingConfig FunctionEndpointScalingConfigArgs
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    ThrottleConfig FunctionEndpointThrottleConfigArgs
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    Timeouts FunctionEndpointTimeoutsArgs
    arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    auth_type string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    auto_deployment_mode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description string
    Description of the endpoint.
    domain_name string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpoint_name string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpoint_type string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    function_name string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regional_domain_names map(string)
    Map of Region to that Region's independent domain name.
    regions list(string)
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revision_weights list(object)
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scaling_config object
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttle_config object
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts object
    arn String
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    authType String
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    autoDeploymentMode String
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description String
    Description of the endpoint.
    domainName String
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName String
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType String
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName String

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionalDomainNames Map<String,String>
    Map of Region to that Region's independent domain name.
    regions List<String>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights List<FunctionEndpointRevisionWeight>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeouts
    arn string
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    authType string
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    autoDeploymentMode string
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description string
    Description of the endpoint.
    domainName string
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName string
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType string
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName string

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionalDomainNames {[key: string]: string}
    Map of Region to that Region's independent domain name.
    regions string[]
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights FunctionEndpointRevisionWeight[]
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig FunctionEndpointScalingConfig
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig FunctionEndpointThrottleConfig
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeouts
    arn str
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    auth_type str
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    auto_deployment_mode str
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description str
    Description of the endpoint.
    domain_name str
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpoint_name str
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpoint_type str
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    function_name str

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regional_domain_names Mapping[str, str]
    Map of Region to that Region's independent domain name.
    regions Sequence[str]
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revision_weights Sequence[FunctionEndpointRevisionWeightArgs]
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scaling_config FunctionEndpointScalingConfigArgs
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttle_config FunctionEndpointThrottleConfigArgs
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts FunctionEndpointTimeoutsArgs
    arn String
    ARN of the endpoint in the format arn:aws:lambda:{region}:{account}:web-function/{function_name}/endpoint/{endpoint_name}.
    authType String
    Authentication mode. Valid values are ApplicationManaged and IamAuth. Can be changed in place; the endpoint keeps its domain name.
    autoDeploymentMode String
    Deployment mode. LatestRevision makes the endpoint follow the latest revision automatically; Disabled requires explicit revisionWeights. MultiRegion and PerRegion endpoints require Disabled. Defaults to LatestRevision.
    description String
    Description of the endpoint.
    domainName String
    HTTPS domain name of the endpoint. Empty for PerRegion endpoints, which only expose regionalDomainNames.
    endpointName String
    Name of the endpoint, up to 64 characters. Changing this forces a new resource.
    endpointType String
    Endpoint type. Valid values are HomeRegion, MultiRegion, and PerRegion. Changing this forces a new resource.
    functionName String

    Name of the function this endpoint belongs to, up to 64 characters. Changing this forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionalDomainNames Map<String>
    Map of Region to that Region's independent domain name.
    regions List<String>
    Regions the endpoint spans. The maximum number of Regions per endpoint is a service quota, enforced by the API. Required for MultiRegion and PerRegion endpoints: specify at least one Region other than the home Region, which is added automatically. For HomeRegion endpoints, omit this argument or specify only the home Region. Changing this forces a new resource.
    revisionWeights List<Property Map>
    Traffic routing. Required when autoDeploymentMode is Disabled and must be omitted when LatestRevision. One or two entries; weights must sum to 100. See below. When a new revision is rolled on the function, update these weights to shift traffic to it — with autoDeploymentMode = "Disabled" traffic never moves automatically.
    scalingConfig Property Map
    Scaling limits for the endpoint. When unset, the endpoint has no maxEnvironments limit; removing the block clears a previously set limit. See below.
    throttleConfig Property Map
    Request throttling for the endpoint. When unset, the endpoint has no rateLimit; removing the block clears a previously set limit. See below.
    timeouts Property Map

    Supporting Types

    FunctionEndpointRevisionWeight, FunctionEndpointRevisionWeightArgs

    RevisionId string
    ID of the revision to route traffic to.
    Weight int
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    RevisionId string
    ID of the revision to route traffic to.
    Weight int
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    revision_id string
    ID of the revision to route traffic to.
    weight number
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    revisionId String
    ID of the revision to route traffic to.
    weight Integer
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    revisionId string
    ID of the revision to route traffic to.
    weight number
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    revision_id str
    ID of the revision to route traffic to.
    weight int
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.
    revisionId String
    ID of the revision to route traffic to.
    weight Number
    Percentage of traffic for this revision (1-100). With one entry the weight must be 100; with two entries the weights must sum to 100.

    FunctionEndpointScalingConfig, FunctionEndpointScalingConfigArgs

    MaxEnvironments int
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    MaxEnvironments int
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    max_environments number
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    maxEnvironments Integer
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    maxEnvironments number
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    max_environments int
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.
    maxEnvironments Number
    Maximum number of concurrent execution environments the endpoint may scale to, minimum 2.

    FunctionEndpointThrottleConfig, FunctionEndpointThrottleConfigArgs

    RateLimit int
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    RateLimit int
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    rate_limit number
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    rateLimit Integer
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    rateLimit number
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    rate_limit int
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.
    rateLimit Number
    Maximum request rate for the endpoint, in requests per second. The service only accepts quantized values: 0, 100-1000 in steps of 100, and 2000-10000 in steps of 1000.

    FunctionEndpointTimeouts, FunctionEndpointTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Identity Schema

    Required

    • endpointName (String) Name of the endpoint.
    • functionName (String) Name of the function.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import a Lambda Web Endpoint using the functionName and endpointName separated by a comma (,). For example:

    $ pulumi import aws:lambdaweb/functionEndpoint:FunctionEndpoint example example,canary
    

    To learn more about importing existing cloud resources, see Importing resources.

    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