1. Packages
  2. AWS
  3. API Docs
  4. lambda
  5. getFunction
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
aws logo
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi

    Provides details about an AWS Lambda Function. Use this data source to obtain information about an existing Lambda function for use in other resources or as a reference for function configurations.

    Note: This data source returns information about the latest version or alias specified by the qualifier. If no qualifier is provided, it returns information about the most recent published version, or $LATEST if no published version exists.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.lambda.getFunction({
        functionName: "my-lambda-function",
    });
    export const functionArn = example.then(example => example.arn);
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambda.get_function(function_name="my-lambda-function")
    pulumi.export("functionArn", example.arn)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
    			FunctionName: "my-lambda-function",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("functionArn", example.Arn)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "my-lambda-function",
        });
    
        return new Dictionary<string, object?>
        {
            ["functionArn"] = example.Apply(getFunctionResult => getFunctionResult.Arn),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambda.LambdaFunctions;
    import com.pulumi.aws.lambda.inputs.GetFunctionArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 = LambdaFunctions.getFunction(GetFunctionArgs.builder()
                .functionName("my-lambda-function")
                .build());
    
            ctx.export("functionArn", example.arn());
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:lambda:getFunction
          arguments:
            functionName: my-lambda-function
    outputs:
      functionArn: ${example.arn}
    

    Using Function Alias

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.lambda.getFunction({
        functionName: "api-handler",
        qualifier: "production",
    });
    // Use in API Gateway integration
    const exampleIntegration = new aws.apigateway.Integration("example", {
        restApi: exampleAwsApiGatewayRestApi.id,
        resourceId: exampleAwsApiGatewayResource.id,
        httpMethod: exampleAwsApiGatewayMethod.httpMethod,
        integrationHttpMethod: "POST",
        type: "AWS_PROXY",
        uri: example.then(example => example.invokeArn),
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambda.get_function(function_name="api-handler",
        qualifier="production")
    # Use in API Gateway integration
    example_integration = aws.apigateway.Integration("example",
        rest_api=example_aws_api_gateway_rest_api["id"],
        resource_id=example_aws_api_gateway_resource["id"],
        http_method=example_aws_api_gateway_method["httpMethod"],
        integration_http_method="POST",
        type="AWS_PROXY",
        uri=example.invoke_arn)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/apigateway"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
    			FunctionName: "api-handler",
    			Qualifier:    pulumi.StringRef("production"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Use in API Gateway integration
    		_, err = apigateway.NewIntegration(ctx, "example", &apigateway.IntegrationArgs{
    			RestApi:               pulumi.Any(exampleAwsApiGatewayRestApi.Id),
    			ResourceId:            pulumi.Any(exampleAwsApiGatewayResource.Id),
    			HttpMethod:            pulumi.Any(exampleAwsApiGatewayMethod.HttpMethod),
    			IntegrationHttpMethod: pulumi.String("POST"),
    			Type:                  pulumi.String("AWS_PROXY"),
    			Uri:                   pulumi.String(example.InvokeArn),
    		})
    		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.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "api-handler",
            Qualifier = "production",
        });
    
        // Use in API Gateway integration
        var exampleIntegration = new Aws.ApiGateway.Integration("example", new()
        {
            RestApi = exampleAwsApiGatewayRestApi.Id,
            ResourceId = exampleAwsApiGatewayResource.Id,
            HttpMethod = exampleAwsApiGatewayMethod.HttpMethod,
            IntegrationHttpMethod = "POST",
            Type = "AWS_PROXY",
            Uri = example.Apply(getFunctionResult => getFunctionResult.InvokeArn),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambda.LambdaFunctions;
    import com.pulumi.aws.lambda.inputs.GetFunctionArgs;
    import com.pulumi.aws.apigateway.Integration;
    import com.pulumi.aws.apigateway.IntegrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 = LambdaFunctions.getFunction(GetFunctionArgs.builder()
                .functionName("api-handler")
                .qualifier("production")
                .build());
    
            // Use in API Gateway integration
            var exampleIntegration = new Integration("exampleIntegration", IntegrationArgs.builder()
                .restApi(exampleAwsApiGatewayRestApi.id())
                .resourceId(exampleAwsApiGatewayResource.id())
                .httpMethod(exampleAwsApiGatewayMethod.httpMethod())
                .integrationHttpMethod("POST")
                .type("AWS_PROXY")
                .uri(example.invokeArn())
                .build());
    
        }
    }
    
    resources:
      # Use in API Gateway integration
      exampleIntegration:
        type: aws:apigateway:Integration
        name: example
        properties:
          restApi: ${exampleAwsApiGatewayRestApi.id}
          resourceId: ${exampleAwsApiGatewayResource.id}
          httpMethod: ${exampleAwsApiGatewayMethod.httpMethod}
          integrationHttpMethod: POST
          type: AWS_PROXY
          uri: ${example.invokeArn}
    variables:
      example:
        fn::invoke:
          function: aws:lambda:getFunction
          arguments:
            functionName: api-handler
            qualifier: production
    

    Function Configuration Reference

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    function singleOrNone<T>(elements: pulumi.Input<T>[]): pulumi.Input<T> {
        if (elements.length != 1) {
            throw new Error("singleOrNone expected input list to have a single element");
        }
        return elements[0];
    }
    
    // Get existing function details
    const reference = aws.lambda.getFunction({
        functionName: "existing-function",
    });
    // Create new function with similar configuration
    const example = new aws.lambda.Function("example", {
        durableConfig: singleOrNone(.map(entry => ({
            executionTimeout: entry.value.executionTimeout,
            retentionPeriod: entry.value.retentionPeriod,
        }))),
        code: new pulumi.asset.FileArchive("new-function.zip"),
        name: "new-function",
        role: reference.then(reference => reference.role),
        handler: reference.then(reference => reference.handler),
        runtime: reference.then(reference => reference.runtime).apply((x) => aws.lambda.Runtime[x]),
        memorySize: reference.then(reference => reference.memorySize),
        timeout: reference.then(reference => reference.timeout),
        architectures: reference.then(reference => reference.architectures),
        vpcConfig: {
            subnetIds: reference.then(reference => reference.vpcConfig?.subnetIds),
            securityGroupIds: reference.then(reference => reference.vpcConfig?.securityGroupIds),
        },
        environment: {
            variables: reference.then(reference => reference.environment?.variables),
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    def single_or_none(elements):
        if len(elements) != 1:
            raise Exception("single_or_none expected input list to have a single element")
        return elements[0]
    
    
    # Get existing function details
    reference = aws.lambda.get_function(function_name="existing-function")
    # Create new function with similar configuration
    example = aws.lambda_.Function("example",
        durable_config=single_or_none([{"key": k, "value": v} for k, v in reference.durable_configs].apply(lambda entries: [{
            "executionTimeout": entry["value"].execution_timeout,
            "retentionPeriod": entry["value"].retention_period,
        } for entry in entries])),
        code=pulumi.FileArchive("new-function.zip"),
        name="new-function",
        role=reference.role,
        handler=reference.handler,
        runtime=reference.runtime,
        memory_size=reference.memory_size,
        timeout=reference.timeout,
        architectures=reference.architectures,
        vpc_config={
            "subnet_ids": reference.vpc_config.subnet_ids,
            "security_group_ids": reference.vpc_config.security_group_ids,
        },
        environment={
            "variables": reference.environment.variables,
        })
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        // Get existing function details
        var reference = Aws.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "existing-function",
        });
    
        // Create new function with similar configuration
        var example = new Aws.Lambda.Function("example", new()
        {
            DurableConfig = Enumerable.Single(),
            Code = new FileArchive("new-function.zip"),
            Name = "new-function",
            Role = reference.Apply(getFunctionResult => getFunctionResult.Role),
            Handler = reference.Apply(getFunctionResult => getFunctionResult.Handler),
            Runtime = reference.Apply(getFunctionResult => getFunctionResult.Runtime).Apply(System.Enum.Parse<Aws.Lambda.Runtime>),
            MemorySize = reference.Apply(getFunctionResult => getFunctionResult.MemorySize),
            Timeout = reference.Apply(getFunctionResult => getFunctionResult.Timeout),
            Architectures = reference.Apply(getFunctionResult => getFunctionResult.Architectures),
            VpcConfig = new Aws.Lambda.Inputs.FunctionVpcConfigArgs
            {
                SubnetIds = reference.Apply(getFunctionResult => getFunctionResult.VpcConfig?.SubnetIds),
                SecurityGroupIds = reference.Apply(getFunctionResult => getFunctionResult.VpcConfig?.SecurityGroupIds),
            },
            Environment = new Aws.Lambda.Inputs.FunctionEnvironmentArgs
            {
                Variables = reference.Apply(getFunctionResult => getFunctionResult.Environment?.Variables),
            },
        });
    
    });
    
    Example coming soon!
    
    Example coming soon!
    

    Function Version Management

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    // Get details about specific version
    const version = aws.lambda.getFunction({
        functionName: "my-function",
        qualifier: "3",
    });
    // Get details about latest version
    const latest = aws.lambda.getFunction({
        functionName: "my-function",
        qualifier: "$LATEST",
    });
    export const versionComparison = {
        specificVersion: version.then(version => version.version),
        latestVersion: latest.then(latest => latest.version),
        codeDifference: Promise.all([version, latest]).then(([version, latest]) => version.codeSha256 != latest.codeSha256),
    };
    
    import pulumi
    import pulumi_aws as aws
    
    # Get details about specific version
    version = aws.lambda.get_function(function_name="my-function",
        qualifier="3")
    # Get details about latest version
    latest = aws.lambda.get_function(function_name="my-function",
        qualifier="$LATEST")
    pulumi.export("versionComparison", {
        "specificVersion": version.version,
        "latestVersion": latest.version,
        "codeDifference": version.code_sha256 != latest.code_sha256,
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Get details about specific version
    		version, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
    			FunctionName: "my-function",
    			Qualifier:    pulumi.StringRef("3"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Get details about latest version
    		latest, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
    			FunctionName: "my-function",
    			Qualifier:    pulumi.StringRef("$LATEST"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("versionComparison", pulumi.Map{
    			"specificVersion": version.Version,
    			"latestVersion":   latest.Version,
    			"codeDifference":  pulumi.Bool(version.CodeSha256 != latest.CodeSha256),
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        // Get details about specific version
        var version = Aws.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "my-function",
            Qualifier = "3",
        });
    
        // Get details about latest version
        var latest = Aws.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "my-function",
            Qualifier = "$LATEST",
        });
    
        return new Dictionary<string, object?>
        {
            ["versionComparison"] = 
            {
                { "specificVersion", version.Apply(getFunctionResult => getFunctionResult.Version) },
                { "latestVersion", latest.Apply(getFunctionResult => getFunctionResult.Version) },
                { "codeDifference", Output.Tuple(version, latest).Apply(values =>
                {
                    var version = values.Item1;
                    var latest = values.Item2;
                    return version.Apply(getFunctionResult => getFunctionResult.CodeSha256) != latest.Apply(getFunctionResult => getFunctionResult.CodeSha256);
                }) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambda.LambdaFunctions;
    import com.pulumi.aws.lambda.inputs.GetFunctionArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // Get details about specific version
            final var version = LambdaFunctions.getFunction(GetFunctionArgs.builder()
                .functionName("my-function")
                .qualifier("3")
                .build());
    
            // Get details about latest version
            final var latest = LambdaFunctions.getFunction(GetFunctionArgs.builder()
                .functionName("my-function")
                .qualifier("$LATEST")
                .build());
    
            ctx.export("versionComparison", Map.ofEntries(
                Map.entry("specificVersion", version.version()),
                Map.entry("latestVersion", latest.version()),
                Map.entry("codeDifference", version.codeSha256() != latest.codeSha256())
            ));
        }
    }
    
    Example coming soon!
    

    Accessing Durable Configuration

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const durableFunction = aws.lambda.getFunction({
        functionName: "my-durable-function",
    });
    export const durableSettings = {
        hasDurableConfig: durableFunction.then(durableFunction => durableFunction.durableConfigs).length.apply(length => length > 0),
        executionTimeout: pulumi.all([durableFunction.then(durableFunction => durableFunction.durableConfigs).length, durableFunction]).apply(([length, durableFunction]) => length > 0 ? durableFunction.durableConfigs?.[0]?.executionTimeout : null),
        retentionPeriod: pulumi.all([durableFunction.then(durableFunction => durableFunction.durableConfigs).length, durableFunction]).apply(([length, durableFunction]) => length > 0 ? durableFunction.durableConfigs?.[0]?.retentionPeriod : null),
    };
    
    import pulumi
    import pulumi_aws as aws
    
    durable_function = aws.lambda.get_function(function_name="my-durable-function")
    pulumi.export("durableSettings", {
        "hasDurableConfig": len(durable_function.durable_configs).apply(lambda length: length > 0),
        "executionTimeout": len(durable_function.durable_configs).apply(lambda length: durable_function.durable_configs[0].execution_timeout if length > 0 else None),
        "retentionPeriod": len(durable_function.durable_configs).apply(lambda length: durable_function.durable_configs[0].retention_period if length > 0 else None),
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		durableFunction, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
    			FunctionName: "my-durable-function",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		var tmp0 *int
    		if length > 0 {
    			tmp0 = durableFunction.DurableConfigs[0].ExecutionTimeout
    		} else {
    			tmp0 = nil
    		}
    		var tmp1 *int
    		if length > 0 {
    			tmp1 = durableFunction.DurableConfigs[0].RetentionPeriod
    		} else {
    			tmp1 = nil
    		}
    		ctx.Export("durableSettings", pulumi.Map{
    			"hasDurableConfig": len(durableFunction.DurableConfigs).ApplyT(func(length int) (bool, error) {
    				return bool(length.ApplyT(func(__convert float64) (bool, error) {
    					return __convert > 0, nil
    				}).(pulumi.BoolOutput)), nil
    			}).(pulumi.BoolOutput),
    			"executionTimeout": len(durableFunction.DurableConfigs).ApplyT(func(length int) (*int, error) {
    				return &tmp0, nil
    			}).(pulumi.IntPtrOutput),
    			"retentionPeriod": len(durableFunction.DurableConfigs).ApplyT(func(length int) (*int, error) {
    				return &tmp1, nil
    			}).(pulumi.IntPtrOutput),
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var durableFunction = Aws.Lambda.GetFunction.Invoke(new()
        {
            FunctionName = "my-durable-function",
        });
    
        return new Dictionary<string, object?>
        {
            ["durableSettings"] = 
            {
                { "hasDurableConfig", durableFunction.Apply(getFunctionResult => getFunctionResult.DurableConfigs).Length.Apply(length => length > 0) },
                { "executionTimeout", Output.Tuple(durableFunction.Apply(getFunctionResult => getFunctionResult.DurableConfigs).Length, durableFunction).Apply(values =>
                {
                    var length = values.Item1;
                    var durableFunction = values.Item2;
                    return length > 0 ? durableFunction.Apply(getFunctionResult => getFunctionResult.DurableConfigs[0]?.ExecutionTimeout) : null;
                }) },
                { "retentionPeriod", Output.Tuple(durableFunction.Apply(getFunctionResult => getFunctionResult.DurableConfigs).Length, durableFunction).Apply(values =>
                {
                    var length = values.Item1;
                    var durableFunction = values.Item2;
                    return length > 0 ? durableFunction.Apply(getFunctionResult => getFunctionResult.DurableConfigs[0]?.RetentionPeriod) : null;
                }) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambda.LambdaFunctions;
    import com.pulumi.aws.lambda.inputs.GetFunctionArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 durableFunction = LambdaFunctions.getFunction(GetFunctionArgs.builder()
                .functionName("my-durable-function")
                .build());
    
            ctx.export("durableSettings", Map.ofEntries(
                Map.entry("hasDurableConfig", durableFunction.durableConfigs().length().applyValue(_length -> _length > 0)),
                Map.entry("executionTimeout", durableFunction.durableConfigs().length().applyValue(_length -> _length > 0 ? durableFunction.durableConfigs()[0].executionTimeout() : null)),
                Map.entry("retentionPeriod", durableFunction.durableConfigs().length().applyValue(_length -> _length > 0 ? durableFunction.durableConfigs()[0].retentionPeriod() : null))
            ));
        }
    }
    
    Example coming soon!
    

    Using getFunction

    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 getFunction(args: GetFunctionArgs, opts?: InvokeOptions): Promise<GetFunctionResult>
    function getFunctionOutput(args: GetFunctionOutputArgs, opts?: InvokeOptions): Output<GetFunctionResult>
    def get_function(function_name: Optional[str] = None,
                     qualifier: Optional[str] = None,
                     region: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFunctionResult
    def get_function_output(function_name: Optional[pulumi.Input[str]] = None,
                     qualifier: Optional[pulumi.Input[str]] = None,
                     region: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFunctionResult]
    func LookupFunction(ctx *Context, args *LookupFunctionArgs, opts ...InvokeOption) (*LookupFunctionResult, error)
    func LookupFunctionOutput(ctx *Context, args *LookupFunctionOutputArgs, opts ...InvokeOption) LookupFunctionResultOutput

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

    public static class GetFunction 
    {
        public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
    public static Output<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:lambda/getFunction:getFunction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FunctionName string

    Name of the Lambda function.

    The following arguments are optional:

    Qualifier string
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags assigned to the Lambda Function.
    FunctionName string

    Name of the Lambda function.

    The following arguments are optional:

    Qualifier string
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags assigned to the Lambda Function.
    functionName String

    Name of the Lambda function.

    The following arguments are optional:

    qualifier String
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags assigned to the Lambda Function.
    functionName string

    Name of the Lambda function.

    The following arguments are optional:

    qualifier string
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags assigned to the Lambda Function.
    function_name str

    Name of the Lambda function.

    The following arguments are optional:

    qualifier str
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags assigned to the Lambda Function.
    functionName String

    Name of the Lambda function.

    The following arguments are optional:

    qualifier String
    Alias name or version number of the Lambda function. E.g., $LATEST, my-alias, or 1. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags assigned to the Lambda Function.

    getFunction Result

    The following output properties are available:

    Architectures List<string>
    Instruction set architecture for the Lambda function.
    Arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    CapacityProviderConfigs List<GetFunctionCapacityProviderConfig>
    Configuration for Lambda function's capacity provider. See below.
    CodeSha256 string
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    CodeSigningConfigArn string
    ARN for a Code Signing Configuration.
    DeadLetterConfig GetFunctionDeadLetterConfig
    Configuration for the function's dead letter queue. See below.
    Description string
    Description of what your Lambda Function does.
    DurableConfigs List<GetFunctionDurableConfig>
    Configuration for the function's durable settings. See below.
    Environment GetFunctionEnvironment
    Lambda environment's configuration settings. See below.
    EphemeralStorages List<GetFunctionEphemeralStorage>
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    FileSystemConfigs List<GetFunctionFileSystemConfig>
    Connection settings for an Amazon EFS file system. See below.
    FunctionName string
    Handler string
    Function entrypoint in your code.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUri string
    URI of the container image.
    InvokeArn string
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    KmsKeyArn string
    ARN for the KMS encryption key.
    LastModified string
    Date this resource was last modified.
    Layers List<string>
    List of Lambda Layer ARNs attached to your Lambda Function.
    LoggingConfigs List<GetFunctionLoggingConfig>
    Advanced logging settings. See below.
    MemorySize int
    Amount of memory in MB your Lambda Function can use at runtime.
    QualifiedArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    QualifiedInvokeArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    Region string
    ReservedConcurrentExecutions int
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    Role string
    IAM role attached to the Lambda Function.
    Runtime string
    Runtime environment for the Lambda function.
    SigningJobArn string
    ARN of a signing job.
    SigningProfileVersionArn string
    ARN for a signing profile version.
    SourceCodeHash string
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    SourceCodeSize int
    Size in bytes of the function .zip file.
    SourceKmsKeyArn string
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    Tags Dictionary<string, string>
    Map of tags assigned to the Lambda Function.
    TenancyConfigs List<GetFunctionTenancyConfig>
    Tenancy settings of the function. See below.
    Timeout int
    Function execution time at which Lambda should terminate the function.
    TracingConfig GetFunctionTracingConfig
    Tracing settings of the function. See below.
    Version string
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    VpcConfig GetFunctionVpcConfig
    VPC configuration associated with your Lambda function. See below.
    Qualifier string
    Architectures []string
    Instruction set architecture for the Lambda function.
    Arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    CapacityProviderConfigs []GetFunctionCapacityProviderConfig
    Configuration for Lambda function's capacity provider. See below.
    CodeSha256 string
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    CodeSigningConfigArn string
    ARN for a Code Signing Configuration.
    DeadLetterConfig GetFunctionDeadLetterConfig
    Configuration for the function's dead letter queue. See below.
    Description string
    Description of what your Lambda Function does.
    DurableConfigs []GetFunctionDurableConfig
    Configuration for the function's durable settings. See below.
    Environment GetFunctionEnvironment
    Lambda environment's configuration settings. See below.
    EphemeralStorages []GetFunctionEphemeralStorage
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    FileSystemConfigs []GetFunctionFileSystemConfig
    Connection settings for an Amazon EFS file system. See below.
    FunctionName string
    Handler string
    Function entrypoint in your code.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUri string
    URI of the container image.
    InvokeArn string
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    KmsKeyArn string
    ARN for the KMS encryption key.
    LastModified string
    Date this resource was last modified.
    Layers []string
    List of Lambda Layer ARNs attached to your Lambda Function.
    LoggingConfigs []GetFunctionLoggingConfig
    Advanced logging settings. See below.
    MemorySize int
    Amount of memory in MB your Lambda Function can use at runtime.
    QualifiedArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    QualifiedInvokeArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    Region string
    ReservedConcurrentExecutions int
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    Role string
    IAM role attached to the Lambda Function.
    Runtime string
    Runtime environment for the Lambda function.
    SigningJobArn string
    ARN of a signing job.
    SigningProfileVersionArn string
    ARN for a signing profile version.
    SourceCodeHash string
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    SourceCodeSize int
    Size in bytes of the function .zip file.
    SourceKmsKeyArn string
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    Tags map[string]string
    Map of tags assigned to the Lambda Function.
    TenancyConfigs []GetFunctionTenancyConfig
    Tenancy settings of the function. See below.
    Timeout int
    Function execution time at which Lambda should terminate the function.
    TracingConfig GetFunctionTracingConfig
    Tracing settings of the function. See below.
    Version string
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    VpcConfig GetFunctionVpcConfig
    VPC configuration associated with your Lambda function. See below.
    Qualifier string
    architectures List<String>
    Instruction set architecture for the Lambda function.
    arn String
    ARN of the Amazon EFS Access Point that provides access to the file system.
    capacityProviderConfigs List<GetFunctionCapacityProviderConfig>
    Configuration for Lambda function's capacity provider. See below.
    codeSha256 String
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    codeSigningConfigArn String
    ARN for a Code Signing Configuration.
    deadLetterConfig GetFunctionDeadLetterConfig
    Configuration for the function's dead letter queue. See below.
    description String
    Description of what your Lambda Function does.
    durableConfigs List<GetFunctionDurableConfig>
    Configuration for the function's durable settings. See below.
    environment GetFunctionEnvironment
    Lambda environment's configuration settings. See below.
    ephemeralStorages List<GetFunctionEphemeralStorage>
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    fileSystemConfigs List<GetFunctionFileSystemConfig>
    Connection settings for an Amazon EFS file system. See below.
    functionName String
    handler String
    Function entrypoint in your code.
    id String
    The provider-assigned unique ID for this managed resource.
    imageUri String
    URI of the container image.
    invokeArn String
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    kmsKeyArn String
    ARN for the KMS encryption key.
    lastModified String
    Date this resource was last modified.
    layers List<String>
    List of Lambda Layer ARNs attached to your Lambda Function.
    loggingConfigs List<GetFunctionLoggingConfig>
    Advanced logging settings. See below.
    memorySize Integer
    Amount of memory in MB your Lambda Function can use at runtime.
    qualifiedArn String
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    qualifiedInvokeArn String
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    region String
    reservedConcurrentExecutions Integer
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    role String
    IAM role attached to the Lambda Function.
    runtime String
    Runtime environment for the Lambda function.
    signingJobArn String
    ARN of a signing job.
    signingProfileVersionArn String
    ARN for a signing profile version.
    sourceCodeHash String
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    sourceCodeSize Integer
    Size in bytes of the function .zip file.
    sourceKmsKeyArn String
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    tags Map<String,String>
    Map of tags assigned to the Lambda Function.
    tenancyConfigs List<GetFunctionTenancyConfig>
    Tenancy settings of the function. See below.
    timeout Integer
    Function execution time at which Lambda should terminate the function.
    tracingConfig GetFunctionTracingConfig
    Tracing settings of the function. See below.
    version String
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    vpcConfig GetFunctionVpcConfig
    VPC configuration associated with your Lambda function. See below.
    qualifier String
    architectures string[]
    Instruction set architecture for the Lambda function.
    arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    capacityProviderConfigs GetFunctionCapacityProviderConfig[]
    Configuration for Lambda function's capacity provider. See below.
    codeSha256 string
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    codeSigningConfigArn string
    ARN for a Code Signing Configuration.
    deadLetterConfig GetFunctionDeadLetterConfig
    Configuration for the function's dead letter queue. See below.
    description string
    Description of what your Lambda Function does.
    durableConfigs GetFunctionDurableConfig[]
    Configuration for the function's durable settings. See below.
    environment GetFunctionEnvironment
    Lambda environment's configuration settings. See below.
    ephemeralStorages GetFunctionEphemeralStorage[]
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    fileSystemConfigs GetFunctionFileSystemConfig[]
    Connection settings for an Amazon EFS file system. See below.
    functionName string
    handler string
    Function entrypoint in your code.
    id string
    The provider-assigned unique ID for this managed resource.
    imageUri string
    URI of the container image.
    invokeArn string
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    kmsKeyArn string
    ARN for the KMS encryption key.
    lastModified string
    Date this resource was last modified.
    layers string[]
    List of Lambda Layer ARNs attached to your Lambda Function.
    loggingConfigs GetFunctionLoggingConfig[]
    Advanced logging settings. See below.
    memorySize number
    Amount of memory in MB your Lambda Function can use at runtime.
    qualifiedArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    qualifiedInvokeArn string
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    region string
    reservedConcurrentExecutions number
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    role string
    IAM role attached to the Lambda Function.
    runtime string
    Runtime environment for the Lambda function.
    signingJobArn string
    ARN of a signing job.
    signingProfileVersionArn string
    ARN for a signing profile version.
    sourceCodeHash string
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    sourceCodeSize number
    Size in bytes of the function .zip file.
    sourceKmsKeyArn string
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    tags {[key: string]: string}
    Map of tags assigned to the Lambda Function.
    tenancyConfigs GetFunctionTenancyConfig[]
    Tenancy settings of the function. See below.
    timeout number
    Function execution time at which Lambda should terminate the function.
    tracingConfig GetFunctionTracingConfig
    Tracing settings of the function. See below.
    version string
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    vpcConfig GetFunctionVpcConfig
    VPC configuration associated with your Lambda function. See below.
    qualifier string
    architectures Sequence[str]
    Instruction set architecture for the Lambda function.
    arn str
    ARN of the Amazon EFS Access Point that provides access to the file system.
    capacity_provider_configs Sequence[GetFunctionCapacityProviderConfig]
    Configuration for Lambda function's capacity provider. See below.
    code_sha256 str
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    code_signing_config_arn str
    ARN for a Code Signing Configuration.
    dead_letter_config GetFunctionDeadLetterConfig
    Configuration for the function's dead letter queue. See below.
    description str
    Description of what your Lambda Function does.
    durable_configs Sequence[GetFunctionDurableConfig]
    Configuration for the function's durable settings. See below.
    environment GetFunctionEnvironment
    Lambda environment's configuration settings. See below.
    ephemeral_storages Sequence[GetFunctionEphemeralStorage]
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    file_system_configs Sequence[GetFunctionFileSystemConfig]
    Connection settings for an Amazon EFS file system. See below.
    function_name str
    handler str
    Function entrypoint in your code.
    id str
    The provider-assigned unique ID for this managed resource.
    image_uri str
    URI of the container image.
    invoke_arn str
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    kms_key_arn str
    ARN for the KMS encryption key.
    last_modified str
    Date this resource was last modified.
    layers Sequence[str]
    List of Lambda Layer ARNs attached to your Lambda Function.
    logging_configs Sequence[GetFunctionLoggingConfig]
    Advanced logging settings. See below.
    memory_size int
    Amount of memory in MB your Lambda Function can use at runtime.
    qualified_arn str
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    qualified_invoke_arn str
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    region str
    reserved_concurrent_executions int
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    role str
    IAM role attached to the Lambda Function.
    runtime str
    Runtime environment for the Lambda function.
    signing_job_arn str
    ARN of a signing job.
    signing_profile_version_arn str
    ARN for a signing profile version.
    source_code_hash str
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    source_code_size int
    Size in bytes of the function .zip file.
    source_kms_key_arn str
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    tags Mapping[str, str]
    Map of tags assigned to the Lambda Function.
    tenancy_configs Sequence[GetFunctionTenancyConfig]
    Tenancy settings of the function. See below.
    timeout int
    Function execution time at which Lambda should terminate the function.
    tracing_config GetFunctionTracingConfig
    Tracing settings of the function. See below.
    version str
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    vpc_config GetFunctionVpcConfig
    VPC configuration associated with your Lambda function. See below.
    qualifier str
    architectures List<String>
    Instruction set architecture for the Lambda function.
    arn String
    ARN of the Amazon EFS Access Point that provides access to the file system.
    capacityProviderConfigs List<Property Map>
    Configuration for Lambda function's capacity provider. See below.
    codeSha256 String
    Base64-encoded representation of raw SHA-256 sum of the zip file.
    codeSigningConfigArn String
    ARN for a Code Signing Configuration.
    deadLetterConfig Property Map
    Configuration for the function's dead letter queue. See below.
    description String
    Description of what your Lambda Function does.
    durableConfigs List<Property Map>
    Configuration for the function's durable settings. See below.
    environment Property Map
    Lambda environment's configuration settings. See below.
    ephemeralStorages List<Property Map>
    Amount of ephemeral storage (/tmp) allocated for the Lambda Function. See below.
    fileSystemConfigs List<Property Map>
    Connection settings for an Amazon EFS file system. See below.
    functionName String
    handler String
    Function entrypoint in your code.
    id String
    The provider-assigned unique ID for this managed resource.
    imageUri String
    URI of the container image.
    invokeArn String
    ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with v4.51.0 of the provider, this will not include the qualifier.
    kmsKeyArn String
    ARN for the KMS encryption key.
    lastModified String
    Date this resource was last modified.
    layers List<String>
    List of Lambda Layer ARNs attached to your Lambda Function.
    loggingConfigs List<Property Map>
    Advanced logging settings. See below.
    memorySize Number
    Amount of memory in MB your Lambda Function can use at runtime.
    qualifiedArn String
    Qualified (:QUALIFIER or :VERSION suffix) ARN identifying your Lambda Function. See also arn.
    qualifiedInvokeArn String
    Qualified (:QUALIFIER or :VERSION suffix) ARN to be used for invoking Lambda Function from API Gateway. See also invoke_arn.
    region String
    reservedConcurrentExecutions Number
    Amount of reserved concurrent executions for this Lambda function or -1 if unreserved.
    role String
    IAM role attached to the Lambda Function.
    runtime String
    Runtime environment for the Lambda function.
    signingJobArn String
    ARN of a signing job.
    signingProfileVersionArn String
    ARN for a signing profile version.
    sourceCodeHash String
    (Deprecated use code_sha256 instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

    Deprecated: source_code_hash is deprecated. Use code_sha256 instead.

    sourceCodeSize Number
    Size in bytes of the function .zip file.
    sourceKmsKeyArn String
    ARN of the AWS Key Management Service key used to encrypt the function's .zip deployment package.
    tags Map<String>
    Map of tags assigned to the Lambda Function.
    tenancyConfigs List<Property Map>
    Tenancy settings of the function. See below.
    timeout Number
    Function execution time at which Lambda should terminate the function.
    tracingConfig Property Map
    Tracing settings of the function. See below.
    version String
    Version of the Lambda function returned. If qualifier is not set, this will resolve to the most recent published version. If no published version of the function exists, version will resolve to $LATEST.
    vpcConfig Property Map
    VPC configuration associated with your Lambda function. See below.
    qualifier String

    Supporting Types

    GetFunctionCapacityProviderConfig

    lambdaManagedInstancesCapacityProviderConfigs List<Property Map>
    Configuration block for Lambda Managed Instances Capacity Provider.

    GetFunctionCapacityProviderConfigLambdaManagedInstancesCapacityProviderConfig

    CapacityProviderArn string
    ARN of the Capacity Provider.
    ExecutionEnvironmentMemoryGibPerVcpu double
    Memory GiB per vCPU for the execution environment.
    PerExecutionEnvironmentMaxConcurrency int
    Maximum concurrency per execution environment.
    CapacityProviderArn string
    ARN of the Capacity Provider.
    ExecutionEnvironmentMemoryGibPerVcpu float64
    Memory GiB per vCPU for the execution environment.
    PerExecutionEnvironmentMaxConcurrency int
    Maximum concurrency per execution environment.
    capacityProviderArn String
    ARN of the Capacity Provider.
    executionEnvironmentMemoryGibPerVcpu Double
    Memory GiB per vCPU for the execution environment.
    perExecutionEnvironmentMaxConcurrency Integer
    Maximum concurrency per execution environment.
    capacityProviderArn string
    ARN of the Capacity Provider.
    executionEnvironmentMemoryGibPerVcpu number
    Memory GiB per vCPU for the execution environment.
    perExecutionEnvironmentMaxConcurrency number
    Maximum concurrency per execution environment.
    capacity_provider_arn str
    ARN of the Capacity Provider.
    execution_environment_memory_gib_per_vcpu float
    Memory GiB per vCPU for the execution environment.
    per_execution_environment_max_concurrency int
    Maximum concurrency per execution environment.
    capacityProviderArn String
    ARN of the Capacity Provider.
    executionEnvironmentMemoryGibPerVcpu Number
    Memory GiB per vCPU for the execution environment.
    perExecutionEnvironmentMaxConcurrency Number
    Maximum concurrency per execution environment.

    GetFunctionDeadLetterConfig

    TargetArn string
    ARN of an SNS topic or SQS queue to notify when an invocation fails.
    TargetArn string
    ARN of an SNS topic or SQS queue to notify when an invocation fails.
    targetArn String
    ARN of an SNS topic or SQS queue to notify when an invocation fails.
    targetArn string
    ARN of an SNS topic or SQS queue to notify when an invocation fails.
    target_arn str
    ARN of an SNS topic or SQS queue to notify when an invocation fails.
    targetArn String
    ARN of an SNS topic or SQS queue to notify when an invocation fails.

    GetFunctionDurableConfig

    ExecutionTimeout int
    Maximum execution time in seconds for the durable function.
    RetentionPeriod int
    Number of days to retain the function's execution state.
    ExecutionTimeout int
    Maximum execution time in seconds for the durable function.
    RetentionPeriod int
    Number of days to retain the function's execution state.
    executionTimeout Integer
    Maximum execution time in seconds for the durable function.
    retentionPeriod Integer
    Number of days to retain the function's execution state.
    executionTimeout number
    Maximum execution time in seconds for the durable function.
    retentionPeriod number
    Number of days to retain the function's execution state.
    execution_timeout int
    Maximum execution time in seconds for the durable function.
    retention_period int
    Number of days to retain the function's execution state.
    executionTimeout Number
    Maximum execution time in seconds for the durable function.
    retentionPeriod Number
    Number of days to retain the function's execution state.

    GetFunctionEnvironment

    Variables Dictionary<string, string>
    Map of environment variables that are accessible from the function code during execution.
    Variables map[string]string
    Map of environment variables that are accessible from the function code during execution.
    variables Map<String,String>
    Map of environment variables that are accessible from the function code during execution.
    variables {[key: string]: string}
    Map of environment variables that are accessible from the function code during execution.
    variables Mapping[str, str]
    Map of environment variables that are accessible from the function code during execution.
    variables Map<String>
    Map of environment variables that are accessible from the function code during execution.

    GetFunctionEphemeralStorage

    Size int
    Size of the Lambda function ephemeral storage (/tmp) in MB.
    Size int
    Size of the Lambda function ephemeral storage (/tmp) in MB.
    size Integer
    Size of the Lambda function ephemeral storage (/tmp) in MB.
    size number
    Size of the Lambda function ephemeral storage (/tmp) in MB.
    size int
    Size of the Lambda function ephemeral storage (/tmp) in MB.
    size Number
    Size of the Lambda function ephemeral storage (/tmp) in MB.

    GetFunctionFileSystemConfig

    Arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    LocalMountPath string
    Path where the function can access the file system, starting with /mnt/.
    Arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    LocalMountPath string
    Path where the function can access the file system, starting with /mnt/.
    arn String
    ARN of the Amazon EFS Access Point that provides access to the file system.
    localMountPath String
    Path where the function can access the file system, starting with /mnt/.
    arn string
    ARN of the Amazon EFS Access Point that provides access to the file system.
    localMountPath string
    Path where the function can access the file system, starting with /mnt/.
    arn str
    ARN of the Amazon EFS Access Point that provides access to the file system.
    local_mount_path str
    Path where the function can access the file system, starting with /mnt/.
    arn String
    ARN of the Amazon EFS Access Point that provides access to the file system.
    localMountPath String
    Path where the function can access the file system, starting with /mnt/.

    GetFunctionLoggingConfig

    ApplicationLogLevel string
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    LogFormat string
    Format for your function's logs. Valid values: Text, JSON.
    LogGroup string
    CloudWatch log group your function sends logs to.
    SystemLogLevel string
    Detail level of the Lambda platform event logs sent to CloudWatch.
    ApplicationLogLevel string
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    LogFormat string
    Format for your function's logs. Valid values: Text, JSON.
    LogGroup string
    CloudWatch log group your function sends logs to.
    SystemLogLevel string
    Detail level of the Lambda platform event logs sent to CloudWatch.
    applicationLogLevel String
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    logFormat String
    Format for your function's logs. Valid values: Text, JSON.
    logGroup String
    CloudWatch log group your function sends logs to.
    systemLogLevel String
    Detail level of the Lambda platform event logs sent to CloudWatch.
    applicationLogLevel string
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    logFormat string
    Format for your function's logs. Valid values: Text, JSON.
    logGroup string
    CloudWatch log group your function sends logs to.
    systemLogLevel string
    Detail level of the Lambda platform event logs sent to CloudWatch.
    application_log_level str
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    log_format str
    Format for your function's logs. Valid values: Text, JSON.
    log_group str
    CloudWatch log group your function sends logs to.
    system_log_level str
    Detail level of the Lambda platform event logs sent to CloudWatch.
    applicationLogLevel String
    Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
    logFormat String
    Format for your function's logs. Valid values: Text, JSON.
    logGroup String
    CloudWatch log group your function sends logs to.
    systemLogLevel String
    Detail level of the Lambda platform event logs sent to CloudWatch.

    GetFunctionTenancyConfig

    TenantIsolationMode string
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.
    TenantIsolationMode string
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.
    tenantIsolationMode String
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.
    tenantIsolationMode string
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.
    tenant_isolation_mode str
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.
    tenantIsolationMode String
    (Required) Tenant Isolation Mode. Valid values: PER_TENANT.

    GetFunctionTracingConfig

    Mode string
    Tracing mode. Valid values: Active, PassThrough.
    Mode string
    Tracing mode. Valid values: Active, PassThrough.
    mode String
    Tracing mode. Valid values: Active, PassThrough.
    mode string
    Tracing mode. Valid values: Active, PassThrough.
    mode str
    Tracing mode. Valid values: Active, PassThrough.
    mode String
    Tracing mode. Valid values: Active, PassThrough.

    GetFunctionVpcConfig

    Ipv6AllowedForDualStack bool
    SecurityGroupIds List<string>
    List of security group IDs associated with the Lambda function.
    SubnetIds List<string>
    List of subnet IDs associated with the Lambda function.
    VpcId string
    ID of the VPC.
    Ipv6AllowedForDualStack bool
    SecurityGroupIds []string
    List of security group IDs associated with the Lambda function.
    SubnetIds []string
    List of subnet IDs associated with the Lambda function.
    VpcId string
    ID of the VPC.
    ipv6AllowedForDualStack Boolean
    securityGroupIds List<String>
    List of security group IDs associated with the Lambda function.
    subnetIds List<String>
    List of subnet IDs associated with the Lambda function.
    vpcId String
    ID of the VPC.
    ipv6AllowedForDualStack boolean
    securityGroupIds string[]
    List of security group IDs associated with the Lambda function.
    subnetIds string[]
    List of subnet IDs associated with the Lambda function.
    vpcId string
    ID of the VPC.
    ipv6_allowed_for_dual_stack bool
    security_group_ids Sequence[str]
    List of security group IDs associated with the Lambda function.
    subnet_ids Sequence[str]
    List of subnet IDs associated with the Lambda function.
    vpc_id str
    ID of the VPC.
    ipv6AllowedForDualStack Boolean
    securityGroupIds List<String>
    List of security group IDs associated with the Lambda function.
    subnetIds List<String>
    List of subnet IDs associated with the Lambda function.
    vpcId String
    ID of the VPC.

    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 v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate