published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 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 noqualifieris provided, it returns information about the most recent published version, or$LATESTif 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> | undefined {
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.items()].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.apply(lambda x: aws.lambda_.Runtime(x)),
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 dictionaryThe following arguments are supported:
- Function
Name 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, or1. 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.
- Dictionary<string, string>
- Map of tags assigned to the Lambda Function.
- Function
Name 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, or1. 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.
- map[string]string
- Map of tags assigned to the Lambda Function.
- function
Name 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, or1. 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.
- Map<String,String>
- Map of tags assigned to the Lambda Function.
- function
Name 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, or1. 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.
- {[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, or1. 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.
- Mapping[str, str]
- Map of tags assigned to the Lambda Function.
- function
Name 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, or1. 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.
- 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.
- Capacity
Provider List<GetConfigs Function Capacity Provider Config> - Configuration for Lambda function's capacity provider. See below.
- Code
Sha256 string - Base64-encoded representation of raw SHA-256 sum of the zip file.
- Code
Signing stringConfig Arn - ARN for a Code Signing Configuration.
- Dead
Letter GetConfig Function Dead Letter Config - Configuration for the function's dead letter queue. See below.
- Description string
- Description of what your Lambda Function does.
- Durable
Configs List<GetFunction Durable Config> - Configuration for the function's durable settings. See below.
- Environment
Get
Function Environment - Lambda environment's configuration settings. See below.
- Ephemeral
Storages List<GetFunction Ephemeral Storage> - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - File
System List<GetConfigs Function File System Config> - Connection settings for an Amazon EFS file system. See below.
- Function
Name string - Handler string
- Function entrypoint in your code.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Uri string - URI of the container image.
- Invoke
Arn string - ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with
v4.51.0of the provider, this will not include the qualifier. - Kms
Key stringArn - ARN for the KMS encryption key.
- Last
Modified string - Date this resource was last modified.
- Layers List<string>
- List of Lambda Layer ARNs attached to your Lambda Function.
- Logging
Configs List<GetFunction Logging Config> - Advanced logging settings. See below.
- Memory
Size int - Amount of memory in MB your Lambda Function can use at runtime.
- Qualified
Arn string - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - Qualified
Invoke stringArn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - Region string
- Reserved
Concurrent intExecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - Response
Streaming stringInvoke Arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- Role string
- IAM role attached to the Lambda Function.
- Runtime string
- Runtime environment for the Lambda function.
- Signing
Job stringArn - ARN of a signing job.
- Signing
Profile stringVersion Arn - ARN for a signing profile version.
- Source
Code stringHash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - Source
Code intSize - Size in bytes of the function .zip file.
- Source
Kms stringKey Arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - Dictionary<string, string>
- Map of tags assigned to the Lambda Function.
- Tenancy
Configs List<GetFunction Tenancy Config> - Tenancy settings of the function. See below.
- Timeout int
- Function execution time at which Lambda should terminate the function.
- Tracing
Config GetFunction Tracing Config - Tracing settings of the function. See below.
- Version string
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - Vpc
Config GetFunction Vpc Config - 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.
- Capacity
Provider []GetConfigs Function Capacity Provider Config - Configuration for Lambda function's capacity provider. See below.
- Code
Sha256 string - Base64-encoded representation of raw SHA-256 sum of the zip file.
- Code
Signing stringConfig Arn - ARN for a Code Signing Configuration.
- Dead
Letter GetConfig Function Dead Letter Config - Configuration for the function's dead letter queue. See below.
- Description string
- Description of what your Lambda Function does.
- Durable
Configs []GetFunction Durable Config - Configuration for the function's durable settings. See below.
- Environment
Get
Function Environment - Lambda environment's configuration settings. See below.
- Ephemeral
Storages []GetFunction Ephemeral Storage - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - File
System []GetConfigs Function File System Config - Connection settings for an Amazon EFS file system. See below.
- Function
Name string - Handler string
- Function entrypoint in your code.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Uri string - URI of the container image.
- Invoke
Arn string - ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with
v4.51.0of the provider, this will not include the qualifier. - Kms
Key stringArn - ARN for the KMS encryption key.
- Last
Modified string - Date this resource was last modified.
- Layers []string
- List of Lambda Layer ARNs attached to your Lambda Function.
- Logging
Configs []GetFunction Logging Config - Advanced logging settings. See below.
- Memory
Size int - Amount of memory in MB your Lambda Function can use at runtime.
- Qualified
Arn string - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - Qualified
Invoke stringArn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - Region string
- Reserved
Concurrent intExecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - Response
Streaming stringInvoke Arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- Role string
- IAM role attached to the Lambda Function.
- Runtime string
- Runtime environment for the Lambda function.
- Signing
Job stringArn - ARN of a signing job.
- Signing
Profile stringVersion Arn - ARN for a signing profile version.
- Source
Code stringHash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - Source
Code intSize - Size in bytes of the function .zip file.
- Source
Kms stringKey Arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - map[string]string
- Map of tags assigned to the Lambda Function.
- Tenancy
Configs []GetFunction Tenancy Config - Tenancy settings of the function. See below.
- Timeout int
- Function execution time at which Lambda should terminate the function.
- Tracing
Config GetFunction Tracing Config - Tracing settings of the function. See below.
- Version string
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - Vpc
Config GetFunction Vpc Config - 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.
- capacity
Provider List<GetConfigs Function Capacity Provider Config> - Configuration for Lambda function's capacity provider. See below.
- code
Sha256 String - Base64-encoded representation of raw SHA-256 sum of the zip file.
- code
Signing StringConfig Arn - ARN for a Code Signing Configuration.
- dead
Letter GetConfig Function Dead Letter Config - Configuration for the function's dead letter queue. See below.
- description String
- Description of what your Lambda Function does.
- durable
Configs List<GetFunction Durable Config> - Configuration for the function's durable settings. See below.
- environment
Get
Function Environment - Lambda environment's configuration settings. See below.
- ephemeral
Storages List<GetFunction Ephemeral Storage> - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - file
System List<GetConfigs Function File System Config> - Connection settings for an Amazon EFS file system. See below.
- function
Name String - handler String
- Function entrypoint in your code.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Uri String - URI of the container image.
- invoke
Arn String - ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with
v4.51.0of the provider, this will not include the qualifier. - kms
Key StringArn - ARN for the KMS encryption key.
- last
Modified String - Date this resource was last modified.
- layers List<String>
- List of Lambda Layer ARNs attached to your Lambda Function.
- logging
Configs List<GetFunction Logging Config> - Advanced logging settings. See below.
- memory
Size Integer - Amount of memory in MB your Lambda Function can use at runtime.
- qualified
Arn String - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - qualified
Invoke StringArn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - region String
- reserved
Concurrent IntegerExecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - response
Streaming StringInvoke Arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- role String
- IAM role attached to the Lambda Function.
- runtime String
- Runtime environment for the Lambda function.
- signing
Job StringArn - ARN of a signing job.
- signing
Profile StringVersion Arn - ARN for a signing profile version.
- source
Code StringHash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - source
Code IntegerSize - Size in bytes of the function .zip file.
- source
Kms StringKey Arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - Map<String,String>
- Map of tags assigned to the Lambda Function.
- tenancy
Configs List<GetFunction Tenancy Config> - Tenancy settings of the function. See below.
- timeout Integer
- Function execution time at which Lambda should terminate the function.
- tracing
Config GetFunction Tracing Config - Tracing settings of the function. See below.
- version String
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - vpc
Config GetFunction Vpc Config - 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.
- capacity
Provider GetConfigs Function Capacity Provider Config[] - Configuration for Lambda function's capacity provider. See below.
- code
Sha256 string - Base64-encoded representation of raw SHA-256 sum of the zip file.
- code
Signing stringConfig Arn - ARN for a Code Signing Configuration.
- dead
Letter GetConfig Function Dead Letter Config - Configuration for the function's dead letter queue. See below.
- description string
- Description of what your Lambda Function does.
- durable
Configs GetFunction Durable Config[] - Configuration for the function's durable settings. See below.
- environment
Get
Function Environment - Lambda environment's configuration settings. See below.
- ephemeral
Storages GetFunction Ephemeral Storage[] - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - file
System GetConfigs Function File System Config[] - Connection settings for an Amazon EFS file system. See below.
- function
Name string - handler string
- Function entrypoint in your code.
- id string
- The provider-assigned unique ID for this managed resource.
- image
Uri string - URI of the container image.
- invoke
Arn string - ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with
v4.51.0of the provider, this will not include the qualifier. - kms
Key stringArn - ARN for the KMS encryption key.
- last
Modified string - Date this resource was last modified.
- layers string[]
- List of Lambda Layer ARNs attached to your Lambda Function.
- logging
Configs GetFunction Logging Config[] - Advanced logging settings. See below.
- memory
Size number - Amount of memory in MB your Lambda Function can use at runtime.
- qualified
Arn string - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - qualified
Invoke stringArn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - region string
- reserved
Concurrent numberExecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - response
Streaming stringInvoke Arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- role string
- IAM role attached to the Lambda Function.
- runtime string
- Runtime environment for the Lambda function.
- signing
Job stringArn - ARN of a signing job.
- signing
Profile stringVersion Arn - ARN for a signing profile version.
- source
Code stringHash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - source
Code numberSize - Size in bytes of the function .zip file.
- source
Kms stringKey Arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - {[key: string]: string}
- Map of tags assigned to the Lambda Function.
- tenancy
Configs GetFunction Tenancy Config[] - Tenancy settings of the function. See below.
- timeout number
- Function execution time at which Lambda should terminate the function.
- tracing
Config GetFunction Tracing Config - Tracing settings of the function. See below.
- version string
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - vpc
Config GetFunction Vpc Config - 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_ Sequence[Getconfigs Function Capacity Provider Config] - 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_ strconfig_ arn - ARN for a Code Signing Configuration.
- dead_
letter_ Getconfig Function Dead Letter Config - Configuration for the function's dead letter queue. See below.
- description str
- Description of what your Lambda Function does.
- durable_
configs Sequence[GetFunction Durable Config] - Configuration for the function's durable settings. See below.
- environment
Get
Function Environment - Lambda environment's configuration settings. See below.
- ephemeral_
storages Sequence[GetFunction Ephemeral Storage] - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - file_
system_ Sequence[Getconfigs Function File System Config] - 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.0of the provider, this will not include the qualifier. - kms_
key_ strarn - 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[GetFunction Logging Config] - Advanced logging settings. See below.
- memory_
size int - Amount of memory in MB your Lambda Function can use at runtime.
- qualified_
arn str - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - qualified_
invoke_ strarn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - region str
- reserved_
concurrent_ intexecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - response_
streaming_ strinvoke_ arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- role str
- IAM role attached to the Lambda Function.
- runtime str
- Runtime environment for the Lambda function.
- signing_
job_ strarn - ARN of a signing job.
- signing_
profile_ strversion_ arn - ARN for a signing profile version.
- source_
code_ strhash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - source_
code_ intsize - Size in bytes of the function .zip file.
- source_
kms_ strkey_ arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - Mapping[str, str]
- Map of tags assigned to the Lambda Function.
- tenancy_
configs Sequence[GetFunction Tenancy Config] - Tenancy settings of the function. See below.
- timeout int
- Function execution time at which Lambda should terminate the function.
- tracing_
config GetFunction Tracing Config - Tracing settings of the function. See below.
- version str
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - vpc_
config GetFunction Vpc Config - 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.
- capacity
Provider List<Property Map>Configs - Configuration for Lambda function's capacity provider. See below.
- code
Sha256 String - Base64-encoded representation of raw SHA-256 sum of the zip file.
- code
Signing StringConfig Arn - ARN for a Code Signing Configuration.
- dead
Letter Property MapConfig - Configuration for the function's dead letter queue. See below.
- description String
- Description of what your Lambda Function does.
- durable
Configs List<Property Map> - Configuration for the function's durable settings. See below.
- environment Property Map
- Lambda environment's configuration settings. See below.
- ephemeral
Storages List<Property Map> - Amount of ephemeral storage (
/tmp) allocated for the Lambda Function. See below. - file
System List<Property Map>Configs - Connection settings for an Amazon EFS file system. See below.
- function
Name String - handler String
- Function entrypoint in your code.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Uri String - URI of the container image.
- invoke
Arn String - ARN to be used for invoking Lambda Function from API Gateway. Note: Starting with
v4.51.0of the provider, this will not include the qualifier. - kms
Key StringArn - ARN for the KMS encryption key.
- last
Modified String - Date this resource was last modified.
- layers List<String>
- List of Lambda Layer ARNs attached to your Lambda Function.
- logging
Configs List<Property Map> - Advanced logging settings. See below.
- memory
Size Number - Amount of memory in MB your Lambda Function can use at runtime.
- qualified
Arn String - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN identifying your Lambda Function. See alsoarn. - qualified
Invoke StringArn - Qualified (
:QUALIFIERor:VERSIONsuffix) ARN to be used for invoking Lambda Function from API Gateway. See alsoinvoke_arn. - region String
- reserved
Concurrent NumberExecutions - Amount of reserved concurrent executions for this Lambda function or
-1if unreserved. - response
Streaming StringInvoke Arn - ARN to be used for invoking Lambda Function from API Gateway with response streaming.
- role String
- IAM role attached to the Lambda Function.
- runtime String
- Runtime environment for the Lambda function.
- signing
Job StringArn - ARN of a signing job.
- signing
Profile StringVersion Arn - ARN for a signing profile version.
- source
Code StringHash - (Deprecated use
code_sha256instead) Base64-encoded representation of raw SHA-256 sum of the zip file. - source
Code NumberSize - Size in bytes of the function .zip file.
- source
Kms StringKey Arn - ARN of the AWS Key Management Service key used to encrypt the function's
.zipdeployment package. - Map<String>
- Map of tags assigned to the Lambda Function.
- tenancy
Configs List<Property Map> - Tenancy settings of the function. See below.
- timeout Number
- Function execution time at which Lambda should terminate the function.
- tracing
Config Property Map - Tracing settings of the function. See below.
- version String
- Version of the Lambda function returned. If
qualifieris not set, this will resolve to the most recent published version. If no published version of the function exists,versionwill resolve to$LATEST. - vpc
Config Property Map - VPC configuration associated with your Lambda function. See below.
- qualifier String
Supporting Types
GetFunctionCapacityProviderConfig
- Lambda
Managed List<GetInstances Capacity Provider Configs Function Capacity Provider Config Lambda Managed Instances Capacity Provider Config> - Configuration block for Lambda Managed Instances Capacity Provider.
- Lambda
Managed []GetInstances Capacity Provider Configs Function Capacity Provider Config Lambda Managed Instances Capacity Provider Config - Configuration block for Lambda Managed Instances Capacity Provider.
- lambda
Managed List<GetInstances Capacity Provider Configs Function Capacity Provider Config Lambda Managed Instances Capacity Provider Config> - Configuration block for Lambda Managed Instances Capacity Provider.
- lambda
Managed GetInstances Capacity Provider Configs Function Capacity Provider Config Lambda Managed Instances Capacity Provider Config[] - Configuration block for Lambda Managed Instances Capacity Provider.
- lambda_
managed_ Sequence[Getinstances_ capacity_ provider_ configs Function Capacity Provider Config Lambda Managed Instances Capacity Provider Config] - Configuration block for Lambda Managed Instances Capacity Provider.
- lambda
Managed List<Property Map>Instances Capacity Provider Configs - Configuration block for Lambda Managed Instances Capacity Provider.
GetFunctionCapacityProviderConfigLambdaManagedInstancesCapacityProviderConfig
- Capacity
Provider stringArn - ARN of the Capacity Provider.
- Execution
Environment doubleMemory Gib Per Vcpu - Memory GiB per vCPU for the execution environment.
- Per
Execution intEnvironment Max Concurrency - Maximum concurrency per execution environment.
- Capacity
Provider stringArn - ARN of the Capacity Provider.
- Execution
Environment float64Memory Gib Per Vcpu - Memory GiB per vCPU for the execution environment.
- Per
Execution intEnvironment Max Concurrency - Maximum concurrency per execution environment.
- capacity
Provider StringArn - ARN of the Capacity Provider.
- execution
Environment DoubleMemory Gib Per Vcpu - Memory GiB per vCPU for the execution environment.
- per
Execution IntegerEnvironment Max Concurrency - Maximum concurrency per execution environment.
- capacity
Provider stringArn - ARN of the Capacity Provider.
- execution
Environment numberMemory Gib Per Vcpu - Memory GiB per vCPU for the execution environment.
- per
Execution numberEnvironment Max Concurrency - Maximum concurrency per execution environment.
- capacity_
provider_ strarn - ARN of the Capacity Provider.
- execution_
environment_ floatmemory_ gib_ per_ vcpu - Memory GiB per vCPU for the execution environment.
- per_
execution_ intenvironment_ max_ concurrency - Maximum concurrency per execution environment.
- capacity
Provider StringArn - ARN of the Capacity Provider.
- execution
Environment NumberMemory Gib Per Vcpu - Memory GiB per vCPU for the execution environment.
- per
Execution NumberEnvironment Max Concurrency - Maximum concurrency per execution environment.
GetFunctionDeadLetterConfig
- Target
Arn string - ARN of an SNS topic or SQS queue to notify when an invocation fails.
- Target
Arn string - ARN of an SNS topic or SQS queue to notify when an invocation fails.
- target
Arn String - ARN of an SNS topic or SQS queue to notify when an invocation fails.
- target
Arn 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.
- target
Arn String - ARN of an SNS topic or SQS queue to notify when an invocation fails.
GetFunctionDurableConfig
- 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.
- 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.
- execution
Timeout Integer - Maximum execution time in seconds for the durable function.
- retention
Period Integer - Number of days to retain the function's execution state.
- execution
Timeout number - Maximum execution time in seconds for the durable function.
- retention
Period 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.
- execution
Timeout Number - Maximum execution time in seconds for the durable function.
- retention
Period 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.
- Local
Mount stringPath - 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.
- Local
Mount stringPath - 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.
- local
Mount StringPath - 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.
- local
Mount stringPath - 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_ strpath - 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.
- local
Mount StringPath - Path where the function can access the file system, starting with
/mnt/.
GetFunctionLoggingConfig
- Application
Log stringLevel - Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
- Log
Format string - Format for your function's logs. Valid values:
Text,JSON. - Log
Group string - CloudWatch log group your function sends logs to.
- System
Log stringLevel - Detail level of the Lambda platform event logs sent to CloudWatch.
- Application
Log stringLevel - Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
- Log
Format string - Format for your function's logs. Valid values:
Text,JSON. - Log
Group string - CloudWatch log group your function sends logs to.
- System
Log stringLevel - Detail level of the Lambda platform event logs sent to CloudWatch.
- application
Log StringLevel - Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
- log
Format String - Format for your function's logs. Valid values:
Text,JSON. - log
Group String - CloudWatch log group your function sends logs to.
- system
Log StringLevel - Detail level of the Lambda platform event logs sent to CloudWatch.
- application
Log stringLevel - Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
- log
Format string - Format for your function's logs. Valid values:
Text,JSON. - log
Group string - CloudWatch log group your function sends logs to.
- system
Log stringLevel - Detail level of the Lambda platform event logs sent to CloudWatch.
- application_
log_ strlevel - 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_ strlevel - Detail level of the Lambda platform event logs sent to CloudWatch.
- application
Log StringLevel - Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
- log
Format String - Format for your function's logs. Valid values:
Text,JSON. - log
Group String - CloudWatch log group your function sends logs to.
- system
Log StringLevel - Detail level of the Lambda platform event logs sent to CloudWatch.
GetFunctionTenancyConfig
- Tenant
Isolation stringMode - (Required) Tenant Isolation Mode. Valid values:
PER_TENANT.
- Tenant
Isolation stringMode - (Required) Tenant Isolation Mode. Valid values:
PER_TENANT.
- tenant
Isolation StringMode - (Required) Tenant Isolation Mode. Valid values:
PER_TENANT.
- tenant
Isolation stringMode - (Required) Tenant Isolation Mode. Valid values:
PER_TENANT.
- tenant_
isolation_ strmode - (Required) Tenant Isolation Mode. Valid values:
PER_TENANT.
- tenant
Isolation StringMode - (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
- Ipv6Allowed
For boolDual Stack - Security
Group List<string>Ids - List of security group IDs associated with the Lambda function.
- Subnet
Ids List<string> - List of subnet IDs associated with the Lambda function.
- Vpc
Id string - ID of the VPC.
- Ipv6Allowed
For boolDual Stack - Security
Group []stringIds - List of security group IDs associated with the Lambda function.
- Subnet
Ids []string - List of subnet IDs associated with the Lambda function.
- Vpc
Id string - ID of the VPC.
- ipv6Allowed
For BooleanDual Stack - security
Group List<String>Ids - List of security group IDs associated with the Lambda function.
- subnet
Ids List<String> - List of subnet IDs associated with the Lambda function.
- vpc
Id String - ID of the VPC.
- ipv6Allowed
For booleanDual Stack - security
Group string[]Ids - List of security group IDs associated with the Lambda function.
- subnet
Ids string[] - List of subnet IDs associated with the Lambda function.
- vpc
Id string - ID of the VPC.
- ipv6_
allowed_ boolfor_ dual_ stack - security_
group_ Sequence[str]ids - 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.
- ipv6Allowed
For BooleanDual Stack - security
Group List<String>Ids - List of security group IDs associated with the Lambda function.
- subnet
Ids List<String> - List of subnet IDs associated with the Lambda function.
- vpc
Id 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
awsTerraform Provider.
published on Wednesday, Mar 11, 2026 by Pulumi
