azure-native.awsconnector.LambdaFunction
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
LambdaFunctions_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var lambdaFunction = new AzureNative.AwsConnector.LambdaFunction("lambdaFunction", new()
{
Location = "pipiphijlvjolohsfpmym",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.LambdaFunctionPropertiesArgs
{
Arn = "wksjbkhocigdctupfiheutlmloir",
AwsAccountId = "jhircduhthqiztp",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLambdaFunctionPropertiesArgs
{
Architectures = new[]
{
AzureNative.AwsConnector.Architectures.Arm64,
},
Arn = "stgpeog",
Code = new AzureNative.AwsConnector.Inputs.CodeArgs
{
ImageUri = "mumnivivaclgokdozsqygicoz",
S3Bucket = "iqxcjanbelhti",
S3Key = "c",
S3ObjectVersion = "ixwkaazvqllwohxjwjtivxy",
ZipFile = "cashtgbjnebsmmyijmbuerim",
},
CodeSigningConfigArn = "qutlevvo",
DeadLetterConfig = new AzureNative.AwsConnector.Inputs.DeadLetterConfigArgs
{
TargetArn = "yfmmazkodblnhgalpsnx",
},
Description = "yvdoxaozwjzszqnt",
Environment = new AzureNative.AwsConnector.Inputs.EnvironmentArgs
{
Variables =
{
{ "key999", "knzbtalbwzajrfxietghzjqrewh" },
},
},
EphemeralStorage = new AzureNative.AwsConnector.Inputs.EphemeralStorageArgs
{
Size = 21,
},
FileSystemConfigs = new[]
{
new AzureNative.AwsConnector.Inputs.FileSystemConfigArgs
{
Arn = "lgaajhamrjhiw",
LocalMountPath = "ctjvtoy",
},
},
FunctionName = "fkv",
Handler = "penuepcuxqvyjozfpxcxkujpeiib",
ImageConfig = new AzureNative.AwsConnector.Inputs.ImageConfigArgs
{
Command = new[]
{
"ypqwmituqujgxriqqe",
},
EntryPoint = new[]
{
"vfnpuvvmmxttsaolsfocwhrhvaycbd",
},
WorkingDirectory = "gnpkvohajxgtqcweloswwofgev",
},
KmsKeyArn = "nheruevkdkuk",
Layers = new[]
{
"bwczxgdagr",
},
LoggingConfig = null,
MemorySize = 21,
PackageType = AzureNative.AwsConnector.PackageType.Image,
ReservedConcurrentExecutions = 28,
Role = "tuoem",
Runtime = "srxhlxqifkewuflrxzjauzdqqkoatl",
RuntimeManagementConfig = new AzureNative.AwsConnector.Inputs.RuntimeManagementConfigArgs
{
RuntimeVersionArn = "lqpuhdoaicnpryovplogsolsacxbk",
UpdateRuntimeOn = AzureNative.AwsConnector.RuntimeManagementConfigUpdateRuntimeOn.Auto,
},
SnapStart = new AzureNative.AwsConnector.Inputs.SnapStartArgs
{
ApplyOn = AzureNative.AwsConnector.SnapStartApplyOn.None,
},
SnapStartResponse = new AzureNative.AwsConnector.Inputs.SnapStartResponseArgs
{
ApplyOn = "None",
},
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "hweqw",
Value = "qctpnmjttccpi",
},
},
Timeout = 28,
TracingConfig = new AzureNative.AwsConnector.Inputs.TracingConfigArgs
{
Mode = AzureNative.AwsConnector.TracingConfigMode.Active,
},
VpcConfig = new AzureNative.AwsConnector.Inputs.VpcConfigArgs
{
Ipv6AllowedForDualStack = true,
SecurityGroupIds = new[]
{
"ovxbygrfhfhno",
},
SubnetIds = new[]
{
"inqatpkusunkgccviubzkijhrgslec",
},
},
},
AwsRegion = "nat",
AwsSourceSchema = "joyfyjrulh",
AwsTags =
{
{ "key4553", "qdudhyzvebfiewg" },
},
PublicCloudConnectorsResourceId = "izvoucedmqtsihfjz",
PublicCloudResourceName = "odptbducplnqaqoeleidffnyqfcipg",
},
ResourceGroupName = "rglambdaFunction",
Tags =
{
{ "key9520", "pnmk" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewLambdaFunction(ctx, "lambdaFunction", &awsconnector.LambdaFunctionArgs{
Location: pulumi.String("pipiphijlvjolohsfpmym"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.LambdaFunctionPropertiesArgs{
Arn: pulumi.String("wksjbkhocigdctupfiheutlmloir"),
AwsAccountId: pulumi.String("jhircduhthqiztp"),
AwsProperties: &awsconnector.AwsLambdaFunctionPropertiesArgs{
Architectures: pulumi.StringArray{
pulumi.String(awsconnector.ArchitecturesArm64),
},
Arn: pulumi.String("stgpeog"),
Code: &awsconnector.CodeArgs{
ImageUri: pulumi.String("mumnivivaclgokdozsqygicoz"),
S3Bucket: pulumi.String("iqxcjanbelhti"),
S3Key: pulumi.String("c"),
S3ObjectVersion: pulumi.String("ixwkaazvqllwohxjwjtivxy"),
ZipFile: pulumi.String("cashtgbjnebsmmyijmbuerim"),
},
CodeSigningConfigArn: pulumi.String("qutlevvo"),
DeadLetterConfig: &awsconnector.DeadLetterConfigArgs{
TargetArn: pulumi.String("yfmmazkodblnhgalpsnx"),
},
Description: pulumi.String("yvdoxaozwjzszqnt"),
Environment: &awsconnector.EnvironmentArgs{
Variables: pulumi.StringMap{
"key999": pulumi.String("knzbtalbwzajrfxietghzjqrewh"),
},
},
EphemeralStorage: &awsconnector.EphemeralStorageArgs{
Size: pulumi.Int(21),
},
FileSystemConfigs: awsconnector.FileSystemConfigArray{
&awsconnector.FileSystemConfigArgs{
Arn: pulumi.String("lgaajhamrjhiw"),
LocalMountPath: pulumi.String("ctjvtoy"),
},
},
FunctionName: pulumi.String("fkv"),
Handler: pulumi.String("penuepcuxqvyjozfpxcxkujpeiib"),
ImageConfig: &awsconnector.ImageConfigArgs{
Command: pulumi.StringArray{
pulumi.String("ypqwmituqujgxriqqe"),
},
EntryPoint: pulumi.StringArray{
pulumi.String("vfnpuvvmmxttsaolsfocwhrhvaycbd"),
},
WorkingDirectory: pulumi.String("gnpkvohajxgtqcweloswwofgev"),
},
KmsKeyArn: pulumi.String("nheruevkdkuk"),
Layers: pulumi.StringArray{
pulumi.String("bwczxgdagr"),
},
LoggingConfig: &awsconnector.LoggingConfigArgs{},
MemorySize: pulumi.Int(21),
PackageType: pulumi.String(awsconnector.PackageTypeImage),
ReservedConcurrentExecutions: pulumi.Int(28),
Role: pulumi.String("tuoem"),
Runtime: pulumi.String("srxhlxqifkewuflrxzjauzdqqkoatl"),
RuntimeManagementConfig: &awsconnector.RuntimeManagementConfigArgs{
RuntimeVersionArn: pulumi.String("lqpuhdoaicnpryovplogsolsacxbk"),
UpdateRuntimeOn: pulumi.String(awsconnector.RuntimeManagementConfigUpdateRuntimeOnAuto),
},
SnapStart: &awsconnector.SnapStartArgs{
ApplyOn: pulumi.String(awsconnector.SnapStartApplyOnNone),
},
SnapStartResponse: &awsconnector.SnapStartResponseArgs{
ApplyOn: pulumi.String("None"),
},
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("hweqw"),
Value: pulumi.String("qctpnmjttccpi"),
},
},
Timeout: pulumi.Int(28),
TracingConfig: &awsconnector.TracingConfigArgs{
Mode: pulumi.String(awsconnector.TracingConfigModeActive),
},
VpcConfig: &awsconnector.VpcConfigArgs{
Ipv6AllowedForDualStack: pulumi.Bool(true),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("ovxbygrfhfhno"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("inqatpkusunkgccviubzkijhrgslec"),
},
},
},
AwsRegion: pulumi.String("nat"),
AwsSourceSchema: pulumi.String("joyfyjrulh"),
AwsTags: pulumi.StringMap{
"key4553": pulumi.String("qdudhyzvebfiewg"),
},
PublicCloudConnectorsResourceId: pulumi.String("izvoucedmqtsihfjz"),
PublicCloudResourceName: pulumi.String("odptbducplnqaqoeleidffnyqfcipg"),
},
ResourceGroupName: pulumi.String("rglambdaFunction"),
Tags: pulumi.StringMap{
"key9520": pulumi.String("pnmk"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.LambdaFunction;
import com.pulumi.azurenative.awsconnector.LambdaFunctionArgs;
import com.pulumi.azurenative.awsconnector.inputs.LambdaFunctionPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsLambdaFunctionPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.CodeArgs;
import com.pulumi.azurenative.awsconnector.inputs.DeadLetterConfigArgs;
import com.pulumi.azurenative.awsconnector.inputs.EnvironmentArgs;
import com.pulumi.azurenative.awsconnector.inputs.EphemeralStorageArgs;
import com.pulumi.azurenative.awsconnector.inputs.ImageConfigArgs;
import com.pulumi.azurenative.awsconnector.inputs.LoggingConfigArgs;
import com.pulumi.azurenative.awsconnector.inputs.RuntimeManagementConfigArgs;
import com.pulumi.azurenative.awsconnector.inputs.SnapStartArgs;
import com.pulumi.azurenative.awsconnector.inputs.SnapStartResponseArgs;
import com.pulumi.azurenative.awsconnector.inputs.TracingConfigArgs;
import com.pulumi.azurenative.awsconnector.inputs.VpcConfigArgs;
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) {
var lambdaFunction = new LambdaFunction("lambdaFunction", LambdaFunctionArgs.builder()
.location("pipiphijlvjolohsfpmym")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(LambdaFunctionPropertiesArgs.builder()
.arn("wksjbkhocigdctupfiheutlmloir")
.awsAccountId("jhircduhthqiztp")
.awsProperties(AwsLambdaFunctionPropertiesArgs.builder()
.architectures("arm64")
.arn("stgpeog")
.code(CodeArgs.builder()
.imageUri("mumnivivaclgokdozsqygicoz")
.s3Bucket("iqxcjanbelhti")
.s3Key("c")
.s3ObjectVersion("ixwkaazvqllwohxjwjtivxy")
.zipFile("cashtgbjnebsmmyijmbuerim")
.build())
.codeSigningConfigArn("qutlevvo")
.deadLetterConfig(DeadLetterConfigArgs.builder()
.targetArn("yfmmazkodblnhgalpsnx")
.build())
.description("yvdoxaozwjzszqnt")
.environment(EnvironmentArgs.builder()
.variables(Map.of("key999", "knzbtalbwzajrfxietghzjqrewh"))
.build())
.ephemeralStorage(EphemeralStorageArgs.builder()
.size(21)
.build())
.fileSystemConfigs(FileSystemConfigArgs.builder()
.arn("lgaajhamrjhiw")
.localMountPath("ctjvtoy")
.build())
.functionName("fkv")
.handler("penuepcuxqvyjozfpxcxkujpeiib")
.imageConfig(ImageConfigArgs.builder()
.command("ypqwmituqujgxriqqe")
.entryPoint("vfnpuvvmmxttsaolsfocwhrhvaycbd")
.workingDirectory("gnpkvohajxgtqcweloswwofgev")
.build())
.kmsKeyArn("nheruevkdkuk")
.layers("bwczxgdagr")
.loggingConfig()
.memorySize(21)
.packageType("Image")
.reservedConcurrentExecutions(28)
.role("tuoem")
.runtime("srxhlxqifkewuflrxzjauzdqqkoatl")
.runtimeManagementConfig(RuntimeManagementConfigArgs.builder()
.runtimeVersionArn("lqpuhdoaicnpryovplogsolsacxbk")
.updateRuntimeOn("Auto")
.build())
.snapStart(SnapStartArgs.builder()
.applyOn("None")
.build())
.snapStartResponse(SnapStartResponseArgs.builder()
.applyOn("None")
.build())
.tags(TagArgs.builder()
.key("hweqw")
.value("qctpnmjttccpi")
.build())
.timeout(28)
.tracingConfig(TracingConfigArgs.builder()
.mode("Active")
.build())
.vpcConfig(VpcConfigArgs.builder()
.ipv6AllowedForDualStack(true)
.securityGroupIds("ovxbygrfhfhno")
.subnetIds("inqatpkusunkgccviubzkijhrgslec")
.build())
.build())
.awsRegion("nat")
.awsSourceSchema("joyfyjrulh")
.awsTags(Map.of("key4553", "qdudhyzvebfiewg"))
.publicCloudConnectorsResourceId("izvoucedmqtsihfjz")
.publicCloudResourceName("odptbducplnqaqoeleidffnyqfcipg")
.build())
.resourceGroupName("rglambdaFunction")
.tags(Map.of("key9520", "pnmk"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
lambda_function = azure_native.awsconnector.LambdaFunction("lambdaFunction",
location="pipiphijlvjolohsfpmym",
name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties={
"arn": "wksjbkhocigdctupfiheutlmloir",
"aws_account_id": "jhircduhthqiztp",
"aws_properties": {
"architectures": [azure_native.awsconnector.Architectures.ARM64],
"arn": "stgpeog",
"code": {
"image_uri": "mumnivivaclgokdozsqygicoz",
"s3_bucket": "iqxcjanbelhti",
"s3_key": "c",
"s3_object_version": "ixwkaazvqllwohxjwjtivxy",
"zip_file": "cashtgbjnebsmmyijmbuerim",
},
"code_signing_config_arn": "qutlevvo",
"dead_letter_config": {
"target_arn": "yfmmazkodblnhgalpsnx",
},
"description": "yvdoxaozwjzszqnt",
"environment": {
"variables": {
"key999": "knzbtalbwzajrfxietghzjqrewh",
},
},
"ephemeral_storage": {
"size": 21,
},
"file_system_configs": [{
"arn": "lgaajhamrjhiw",
"local_mount_path": "ctjvtoy",
}],
"function_name": "fkv",
"handler": "penuepcuxqvyjozfpxcxkujpeiib",
"image_config": {
"command": ["ypqwmituqujgxriqqe"],
"entry_point": ["vfnpuvvmmxttsaolsfocwhrhvaycbd"],
"working_directory": "gnpkvohajxgtqcweloswwofgev",
},
"kms_key_arn": "nheruevkdkuk",
"layers": ["bwczxgdagr"],
"logging_config": {},
"memory_size": 21,
"package_type": azure_native.awsconnector.PackageType.IMAGE,
"reserved_concurrent_executions": 28,
"role": "tuoem",
"runtime": "srxhlxqifkewuflrxzjauzdqqkoatl",
"runtime_management_config": {
"runtime_version_arn": "lqpuhdoaicnpryovplogsolsacxbk",
"update_runtime_on": azure_native.awsconnector.RuntimeManagementConfigUpdateRuntimeOn.AUTO,
},
"snap_start": {
"apply_on": azure_native.awsconnector.SnapStartApplyOn.NONE,
},
"snap_start_response": {
"apply_on": "None",
},
"tags": [{
"key": "hweqw",
"value": "qctpnmjttccpi",
}],
"timeout": 28,
"tracing_config": {
"mode": azure_native.awsconnector.TracingConfigMode.ACTIVE,
},
"vpc_config": {
"ipv6_allowed_for_dual_stack": True,
"security_group_ids": ["ovxbygrfhfhno"],
"subnet_ids": ["inqatpkusunkgccviubzkijhrgslec"],
},
},
"aws_region": "nat",
"aws_source_schema": "joyfyjrulh",
"aws_tags": {
"key4553": "qdudhyzvebfiewg",
},
"public_cloud_connectors_resource_id": "izvoucedmqtsihfjz",
"public_cloud_resource_name": "odptbducplnqaqoeleidffnyqfcipg",
},
resource_group_name="rglambdaFunction",
tags={
"key9520": "pnmk",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const lambdaFunction = new azure_native.awsconnector.LambdaFunction("lambdaFunction", {
location: "pipiphijlvjolohsfpmym",
name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties: {
arn: "wksjbkhocigdctupfiheutlmloir",
awsAccountId: "jhircduhthqiztp",
awsProperties: {
architectures: [azure_native.awsconnector.Architectures.Arm64],
arn: "stgpeog",
code: {
imageUri: "mumnivivaclgokdozsqygicoz",
s3Bucket: "iqxcjanbelhti",
s3Key: "c",
s3ObjectVersion: "ixwkaazvqllwohxjwjtivxy",
zipFile: "cashtgbjnebsmmyijmbuerim",
},
codeSigningConfigArn: "qutlevvo",
deadLetterConfig: {
targetArn: "yfmmazkodblnhgalpsnx",
},
description: "yvdoxaozwjzszqnt",
environment: {
variables: {
key999: "knzbtalbwzajrfxietghzjqrewh",
},
},
ephemeralStorage: {
size: 21,
},
fileSystemConfigs: [{
arn: "lgaajhamrjhiw",
localMountPath: "ctjvtoy",
}],
functionName: "fkv",
handler: "penuepcuxqvyjozfpxcxkujpeiib",
imageConfig: {
command: ["ypqwmituqujgxriqqe"],
entryPoint: ["vfnpuvvmmxttsaolsfocwhrhvaycbd"],
workingDirectory: "gnpkvohajxgtqcweloswwofgev",
},
kmsKeyArn: "nheruevkdkuk",
layers: ["bwczxgdagr"],
loggingConfig: {},
memorySize: 21,
packageType: azure_native.awsconnector.PackageType.Image,
reservedConcurrentExecutions: 28,
role: "tuoem",
runtime: "srxhlxqifkewuflrxzjauzdqqkoatl",
runtimeManagementConfig: {
runtimeVersionArn: "lqpuhdoaicnpryovplogsolsacxbk",
updateRuntimeOn: azure_native.awsconnector.RuntimeManagementConfigUpdateRuntimeOn.Auto,
},
snapStart: {
applyOn: azure_native.awsconnector.SnapStartApplyOn.None,
},
snapStartResponse: {
applyOn: "None",
},
tags: [{
key: "hweqw",
value: "qctpnmjttccpi",
}],
timeout: 28,
tracingConfig: {
mode: azure_native.awsconnector.TracingConfigMode.Active,
},
vpcConfig: {
ipv6AllowedForDualStack: true,
securityGroupIds: ["ovxbygrfhfhno"],
subnetIds: ["inqatpkusunkgccviubzkijhrgslec"],
},
},
awsRegion: "nat",
awsSourceSchema: "joyfyjrulh",
awsTags: {
key4553: "qdudhyzvebfiewg",
},
publicCloudConnectorsResourceId: "izvoucedmqtsihfjz",
publicCloudResourceName: "odptbducplnqaqoeleidffnyqfcipg",
},
resourceGroupName: "rglambdaFunction",
tags: {
key9520: "pnmk",
},
});
resources:
lambdaFunction:
type: azure-native:awsconnector:LambdaFunction
properties:
location: pipiphijlvjolohsfpmym
name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
properties:
arn: wksjbkhocigdctupfiheutlmloir
awsAccountId: jhircduhthqiztp
awsProperties:
architectures:
- arm64
arn: stgpeog
code:
imageUri: mumnivivaclgokdozsqygicoz
s3Bucket: iqxcjanbelhti
s3Key: c
s3ObjectVersion: ixwkaazvqllwohxjwjtivxy
zipFile: cashtgbjnebsmmyijmbuerim
codeSigningConfigArn: qutlevvo
deadLetterConfig:
targetArn: yfmmazkodblnhgalpsnx
description: yvdoxaozwjzszqnt
environment:
variables:
key999: knzbtalbwzajrfxietghzjqrewh
ephemeralStorage:
size: 21
fileSystemConfigs:
- arn: lgaajhamrjhiw
localMountPath: ctjvtoy
functionName: fkv
handler: penuepcuxqvyjozfpxcxkujpeiib
imageConfig:
command:
- ypqwmituqujgxriqqe
entryPoint:
- vfnpuvvmmxttsaolsfocwhrhvaycbd
workingDirectory: gnpkvohajxgtqcweloswwofgev
kmsKeyArn: nheruevkdkuk
layers:
- bwczxgdagr
loggingConfig: {}
memorySize: 21
packageType: Image
reservedConcurrentExecutions: 28
role: tuoem
runtime: srxhlxqifkewuflrxzjauzdqqkoatl
runtimeManagementConfig:
runtimeVersionArn: lqpuhdoaicnpryovplogsolsacxbk
updateRuntimeOn: Auto
snapStart:
applyOn: None
snapStartResponse:
applyOn: None
tags:
- key: hweqw
value: qctpnmjttccpi
timeout: 28
tracingConfig:
mode: Active
vpcConfig:
ipv6AllowedForDualStack: true
securityGroupIds:
- ovxbygrfhfhno
subnetIds:
- inqatpkusunkgccviubzkijhrgslec
awsRegion: nat
awsSourceSchema: joyfyjrulh
awsTags:
key4553: qdudhyzvebfiewg
publicCloudConnectorsResourceId: izvoucedmqtsihfjz
publicCloudResourceName: odptbducplnqaqoeleidffnyqfcipg
resourceGroupName: rglambdaFunction
tags:
key9520: pnmk
Create LambdaFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LambdaFunction(name: string, args: LambdaFunctionArgs, opts?: CustomResourceOptions);
@overload
def LambdaFunction(resource_name: str,
args: LambdaFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LambdaFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[LambdaFunctionPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLambdaFunction(ctx *Context, name string, args LambdaFunctionArgs, opts ...ResourceOption) (*LambdaFunction, error)
public LambdaFunction(string name, LambdaFunctionArgs args, CustomResourceOptions? opts = null)
public LambdaFunction(String name, LambdaFunctionArgs args)
public LambdaFunction(String name, LambdaFunctionArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:LambdaFunction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LambdaFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LambdaFunctionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LambdaFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LambdaFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LambdaFunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var lambdaFunctionResource = new AzureNative.AwsConnector.LambdaFunction("lambdaFunctionResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties = new AzureNative.AwsConnector.Inputs.LambdaFunctionPropertiesArgs
{
Arn = "string",
AwsAccountId = "string",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLambdaFunctionPropertiesArgs
{
Architectures = new[]
{
"string",
},
Arn = "string",
Code = new AzureNative.AwsConnector.Inputs.CodeArgs
{
ImageUri = "string",
S3Bucket = "string",
S3Key = "string",
S3ObjectVersion = "string",
ZipFile = "string",
},
CodeSigningConfigArn = "string",
DeadLetterConfig = new AzureNative.AwsConnector.Inputs.DeadLetterConfigArgs
{
TargetArn = "string",
},
Description = "string",
Environment = new AzureNative.AwsConnector.Inputs.EnvironmentArgs
{
Variables =
{
{ "string", "string" },
},
},
EphemeralStorage = new AzureNative.AwsConnector.Inputs.EphemeralStorageArgs
{
Size = 0,
SizeInGiB = 0,
},
FileSystemConfigs = new[]
{
new AzureNative.AwsConnector.Inputs.FileSystemConfigArgs
{
Arn = "string",
LocalMountPath = "string",
},
},
FunctionName = "string",
Handler = "string",
ImageConfig = new AzureNative.AwsConnector.Inputs.ImageConfigArgs
{
Command = new[]
{
"string",
},
EntryPoint = new[]
{
"string",
},
WorkingDirectory = "string",
},
KmsKeyArn = "string",
Layers = new[]
{
"string",
},
LoggingConfig = new AzureNative.AwsConnector.Inputs.LoggingConfigArgs
{
ApplicationLogLevel = "string",
FailureFeedbackRoleArn = "string",
LogFormat = "string",
LogGroup = "string",
Protocol = "string",
SuccessFeedbackRoleArn = "string",
SuccessFeedbackSampleRate = "string",
SystemLogLevel = "string",
},
MemorySize = 0,
PackageType = "string",
ReservedConcurrentExecutions = 0,
Role = "string",
Runtime = "string",
RuntimeManagementConfig = new AzureNative.AwsConnector.Inputs.RuntimeManagementConfigArgs
{
RuntimeVersionArn = "string",
UpdateRuntimeOn = "string",
},
SnapStart = new AzureNative.AwsConnector.Inputs.SnapStartArgs
{
ApplyOn = "string",
},
SnapStartResponse = new AzureNative.AwsConnector.Inputs.SnapStartResponseArgs
{
ApplyOn = "string",
},
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "string",
Value = "string",
},
},
Timeout = 0,
TracingConfig = new AzureNative.AwsConnector.Inputs.TracingConfigArgs
{
Mode = "string",
},
VpcConfig = new AzureNative.AwsConnector.Inputs.VpcConfigArgs
{
Ipv6AllowedForDualStack = false,
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
VpcId = "string",
},
},
AwsRegion = "string",
AwsSourceSchema = "string",
AwsTags =
{
{ "string", "string" },
},
PublicCloudConnectorsResourceId = "string",
PublicCloudResourceName = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewLambdaFunction(ctx, "lambdaFunctionResource", &awsconnector.LambdaFunctionArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &awsconnector.LambdaFunctionPropertiesArgs{
Arn: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
AwsProperties: &awsconnector.AwsLambdaFunctionPropertiesArgs{
Architectures: pulumi.StringArray{
pulumi.String("string"),
},
Arn: pulumi.String("string"),
Code: &awsconnector.CodeArgs{
ImageUri: pulumi.String("string"),
S3Bucket: pulumi.String("string"),
S3Key: pulumi.String("string"),
S3ObjectVersion: pulumi.String("string"),
ZipFile: pulumi.String("string"),
},
CodeSigningConfigArn: pulumi.String("string"),
DeadLetterConfig: &awsconnector.DeadLetterConfigArgs{
TargetArn: pulumi.String("string"),
},
Description: pulumi.String("string"),
Environment: &awsconnector.EnvironmentArgs{
Variables: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
EphemeralStorage: &awsconnector.EphemeralStorageArgs{
Size: pulumi.Int(0),
SizeInGiB: pulumi.Int(0),
},
FileSystemConfigs: awsconnector.FileSystemConfigArray{
&awsconnector.FileSystemConfigArgs{
Arn: pulumi.String("string"),
LocalMountPath: pulumi.String("string"),
},
},
FunctionName: pulumi.String("string"),
Handler: pulumi.String("string"),
ImageConfig: &awsconnector.ImageConfigArgs{
Command: pulumi.StringArray{
pulumi.String("string"),
},
EntryPoint: pulumi.StringArray{
pulumi.String("string"),
},
WorkingDirectory: pulumi.String("string"),
},
KmsKeyArn: pulumi.String("string"),
Layers: pulumi.StringArray{
pulumi.String("string"),
},
LoggingConfig: &awsconnector.LoggingConfigArgs{
ApplicationLogLevel: pulumi.String("string"),
FailureFeedbackRoleArn: pulumi.String("string"),
LogFormat: pulumi.String("string"),
LogGroup: pulumi.String("string"),
Protocol: pulumi.String("string"),
SuccessFeedbackRoleArn: pulumi.String("string"),
SuccessFeedbackSampleRate: pulumi.String("string"),
SystemLogLevel: pulumi.String("string"),
},
MemorySize: pulumi.Int(0),
PackageType: pulumi.String("string"),
ReservedConcurrentExecutions: pulumi.Int(0),
Role: pulumi.String("string"),
Runtime: pulumi.String("string"),
RuntimeManagementConfig: &awsconnector.RuntimeManagementConfigArgs{
RuntimeVersionArn: pulumi.String("string"),
UpdateRuntimeOn: pulumi.String("string"),
},
SnapStart: &awsconnector.SnapStartArgs{
ApplyOn: pulumi.String("string"),
},
SnapStartResponse: &awsconnector.SnapStartResponseArgs{
ApplyOn: pulumi.String("string"),
},
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeout: pulumi.Int(0),
TracingConfig: &awsconnector.TracingConfigArgs{
Mode: pulumi.String("string"),
},
VpcConfig: &awsconnector.VpcConfigArgs{
Ipv6AllowedForDualStack: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
VpcId: pulumi.String("string"),
},
},
AwsRegion: pulumi.String("string"),
AwsSourceSchema: pulumi.String("string"),
AwsTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicCloudConnectorsResourceId: pulumi.String("string"),
PublicCloudResourceName: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var lambdaFunctionResource = new LambdaFunction("lambdaFunctionResource", LambdaFunctionArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(LambdaFunctionPropertiesArgs.builder()
.arn("string")
.awsAccountId("string")
.awsProperties(AwsLambdaFunctionPropertiesArgs.builder()
.architectures("string")
.arn("string")
.code(CodeArgs.builder()
.imageUri("string")
.s3Bucket("string")
.s3Key("string")
.s3ObjectVersion("string")
.zipFile("string")
.build())
.codeSigningConfigArn("string")
.deadLetterConfig(DeadLetterConfigArgs.builder()
.targetArn("string")
.build())
.description("string")
.environment(EnvironmentArgs.builder()
.variables(Map.of("string", "string"))
.build())
.ephemeralStorage(EphemeralStorageArgs.builder()
.size(0)
.sizeInGiB(0)
.build())
.fileSystemConfigs(FileSystemConfigArgs.builder()
.arn("string")
.localMountPath("string")
.build())
.functionName("string")
.handler("string")
.imageConfig(ImageConfigArgs.builder()
.command("string")
.entryPoint("string")
.workingDirectory("string")
.build())
.kmsKeyArn("string")
.layers("string")
.loggingConfig(LoggingConfigArgs.builder()
.applicationLogLevel("string")
.failureFeedbackRoleArn("string")
.logFormat("string")
.logGroup("string")
.protocol("string")
.successFeedbackRoleArn("string")
.successFeedbackSampleRate("string")
.systemLogLevel("string")
.build())
.memorySize(0)
.packageType("string")
.reservedConcurrentExecutions(0)
.role("string")
.runtime("string")
.runtimeManagementConfig(RuntimeManagementConfigArgs.builder()
.runtimeVersionArn("string")
.updateRuntimeOn("string")
.build())
.snapStart(SnapStartArgs.builder()
.applyOn("string")
.build())
.snapStartResponse(SnapStartResponseArgs.builder()
.applyOn("string")
.build())
.tags(TagArgs.builder()
.key("string")
.value("string")
.build())
.timeout(0)
.tracingConfig(TracingConfigArgs.builder()
.mode("string")
.build())
.vpcConfig(VpcConfigArgs.builder()
.ipv6AllowedForDualStack(false)
.securityGroupIds("string")
.subnetIds("string")
.subnets("string")
.vpcId("string")
.build())
.build())
.awsRegion("string")
.awsSourceSchema("string")
.awsTags(Map.of("string", "string"))
.publicCloudConnectorsResourceId("string")
.publicCloudResourceName("string")
.build())
.tags(Map.of("string", "string"))
.build());
lambda_function_resource = azure_native.awsconnector.LambdaFunction("lambdaFunctionResource",
resource_group_name="string",
location="string",
name="string",
properties={
"arn": "string",
"aws_account_id": "string",
"aws_properties": {
"architectures": ["string"],
"arn": "string",
"code": {
"image_uri": "string",
"s3_bucket": "string",
"s3_key": "string",
"s3_object_version": "string",
"zip_file": "string",
},
"code_signing_config_arn": "string",
"dead_letter_config": {
"target_arn": "string",
},
"description": "string",
"environment": {
"variables": {
"string": "string",
},
},
"ephemeral_storage": {
"size": 0,
"size_in_gi_b": 0,
},
"file_system_configs": [{
"arn": "string",
"local_mount_path": "string",
}],
"function_name": "string",
"handler": "string",
"image_config": {
"command": ["string"],
"entry_point": ["string"],
"working_directory": "string",
},
"kms_key_arn": "string",
"layers": ["string"],
"logging_config": {
"application_log_level": "string",
"failure_feedback_role_arn": "string",
"log_format": "string",
"log_group": "string",
"protocol": "string",
"success_feedback_role_arn": "string",
"success_feedback_sample_rate": "string",
"system_log_level": "string",
},
"memory_size": 0,
"package_type": "string",
"reserved_concurrent_executions": 0,
"role": "string",
"runtime": "string",
"runtime_management_config": {
"runtime_version_arn": "string",
"update_runtime_on": "string",
},
"snap_start": {
"apply_on": "string",
},
"snap_start_response": {
"apply_on": "string",
},
"tags": [{
"key": "string",
"value": "string",
}],
"timeout": 0,
"tracing_config": {
"mode": "string",
},
"vpc_config": {
"ipv6_allowed_for_dual_stack": False,
"security_group_ids": ["string"],
"subnet_ids": ["string"],
"subnets": ["string"],
"vpc_id": "string",
},
},
"aws_region": "string",
"aws_source_schema": "string",
"aws_tags": {
"string": "string",
},
"public_cloud_connectors_resource_id": "string",
"public_cloud_resource_name": "string",
},
tags={
"string": "string",
})
const lambdaFunctionResource = new azure_native.awsconnector.LambdaFunction("lambdaFunctionResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
architectures: ["string"],
arn: "string",
code: {
imageUri: "string",
s3Bucket: "string",
s3Key: "string",
s3ObjectVersion: "string",
zipFile: "string",
},
codeSigningConfigArn: "string",
deadLetterConfig: {
targetArn: "string",
},
description: "string",
environment: {
variables: {
string: "string",
},
},
ephemeralStorage: {
size: 0,
sizeInGiB: 0,
},
fileSystemConfigs: [{
arn: "string",
localMountPath: "string",
}],
functionName: "string",
handler: "string",
imageConfig: {
command: ["string"],
entryPoint: ["string"],
workingDirectory: "string",
},
kmsKeyArn: "string",
layers: ["string"],
loggingConfig: {
applicationLogLevel: "string",
failureFeedbackRoleArn: "string",
logFormat: "string",
logGroup: "string",
protocol: "string",
successFeedbackRoleArn: "string",
successFeedbackSampleRate: "string",
systemLogLevel: "string",
},
memorySize: 0,
packageType: "string",
reservedConcurrentExecutions: 0,
role: "string",
runtime: "string",
runtimeManagementConfig: {
runtimeVersionArn: "string",
updateRuntimeOn: "string",
},
snapStart: {
applyOn: "string",
},
snapStartResponse: {
applyOn: "string",
},
tags: [{
key: "string",
value: "string",
}],
timeout: 0,
tracingConfig: {
mode: "string",
},
vpcConfig: {
ipv6AllowedForDualStack: false,
securityGroupIds: ["string"],
subnetIds: ["string"],
subnets: ["string"],
vpcId: "string",
},
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:LambdaFunction
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
architectures:
- string
arn: string
code:
imageUri: string
s3Bucket: string
s3Key: string
s3ObjectVersion: string
zipFile: string
codeSigningConfigArn: string
deadLetterConfig:
targetArn: string
description: string
environment:
variables:
string: string
ephemeralStorage:
size: 0
sizeInGiB: 0
fileSystemConfigs:
- arn: string
localMountPath: string
functionName: string
handler: string
imageConfig:
command:
- string
entryPoint:
- string
workingDirectory: string
kmsKeyArn: string
layers:
- string
loggingConfig:
applicationLogLevel: string
failureFeedbackRoleArn: string
logFormat: string
logGroup: string
protocol: string
successFeedbackRoleArn: string
successFeedbackSampleRate: string
systemLogLevel: string
memorySize: 0
packageType: string
reservedConcurrentExecutions: 0
role: string
runtime: string
runtimeManagementConfig:
runtimeVersionArn: string
updateRuntimeOn: string
snapStart:
applyOn: string
snapStartResponse:
applyOn: string
tags:
- key: string
value: string
timeout: 0
tracingConfig:
mode: string
vpcConfig:
ipv6AllowedForDualStack: false
securityGroupIds:
- string
subnetIds:
- string
subnets:
- string
vpcId: string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
LambdaFunction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LambdaFunction resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of LambdaFunction
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Lambda Function Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of LambdaFunction
- Properties
Lambda
Function Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of LambdaFunction
- properties
Lambda
Function Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of LambdaFunction
- properties
Lambda
Function Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of LambdaFunction
- properties
Lambda
Function Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of LambdaFunction
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the LambdaFunction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
Architectures, ArchitecturesArgs
- Arm64
- arm64Architectures enum arm64
- X86_64
- x86_64Architectures enum x86_64
- Architectures
Arm64 - arm64Architectures enum arm64
- Architectures_X86_64
- x86_64Architectures enum x86_64
- Arm64
- arm64Architectures enum arm64
- X86_64
- x86_64Architectures enum x86_64
- Arm64
- arm64Architectures enum arm64
- X86_64
- x86_64Architectures enum x86_64
- ARM64
- arm64Architectures enum arm64
- X86_64
- x86_64Architectures enum x86_64
- "arm64"
- arm64Architectures enum arm64
- "x86_64"
- x86_64Architectures enum x86_64
AwsLambdaFunctionProperties, AwsLambdaFunctionPropertiesArgs
- Architectures
List<Union<string, Pulumi.
Azure Native. Aws Connector. Architectures>> - The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - Arn string
- Property arn
- Code
Pulumi.
Azure Native. Aws Connector. Inputs. Code - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- Code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- Dead
Letter Pulumi.Config Azure Native. Aws Connector. Inputs. Dead Letter Config - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- Description string
- A description of the function.
- Environment
Pulumi.
Azure Native. Aws Connector. Inputs. Environment - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- Ephemeral
Storage Pulumi.Azure Native. Aws Connector. Inputs. Ephemeral Storage - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - File
System List<Pulumi.Configs Azure Native. Aws Connector. Inputs. File System Config> - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - Function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- Image
Config Pulumi.Azure Native. Aws Connector. Inputs. Image Config - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- Kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- Layers List<string>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- Logging
Config Pulumi.Azure Native. Aws Connector. Inputs. Logging Config - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- Memory
Size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- Package
Type string | Pulumi.Azure Native. Aws Connector. Package Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Reserved
Concurrent intExecutions - The number of simultaneous executions to reserve for the function.
- Role string
- The Amazon Resource Name (ARN) of the function's execution role.
- Runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- Runtime
Management Pulumi.Config Azure Native. Aws Connector. Inputs. Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start Pulumi.Azure Native. Aws Connector. Inputs. Snap Start - The function's SnapStart setting. The function's SnapStart setting.
- Snap
Start Pulumi.Response Azure Native. Aws Connector. Inputs. Snap Start Response - The function's SnapStart setting.
- List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag> - A list of tags to apply to the function.
- Timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- Tracing
Config Pulumi.Azure Native. Aws Connector. Inputs. Tracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - Vpc
Config Pulumi.Azure Native. Aws Connector. Inputs. Vpc Config - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- Architectures []string
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - Arn string
- Property arn
- Code Code
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- Code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- Dead
Letter DeadConfig Letter Config - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- Description string
- A description of the function.
- Environment Environment
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- Ephemeral
Storage EphemeralStorage - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - File
System []FileConfigs System Config - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - Function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- Image
Config ImageConfig - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- Kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- Layers []string
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- Logging
Config LoggingConfig - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- Memory
Size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- Package
Type string | PackageType - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Reserved
Concurrent intExecutions - The number of simultaneous executions to reserve for the function.
- Role string
- The Amazon Resource Name (ARN) of the function's execution role.
- Runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- Runtime
Management RuntimeConfig Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start SnapStart - The function's SnapStart setting. The function's SnapStart setting.
- Snap
Start SnapResponse Start Response - The function's SnapStart setting.
- []Tag
- A list of tags to apply to the function.
- Timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- Tracing
Config TracingConfig - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - Vpc
Config VpcConfig - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures List<Either<String,Architectures>>
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn String
- Property arn
- code Code
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing StringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter DeadConfig Letter Config - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description String
- A description of the function.
- environment Environment
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage EphemeralStorage - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System List<FileConfigs System Config> - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name String - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler String
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config ImageConfig - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key StringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers List<String>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config LoggingConfig - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size Integer - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type String | PackageType - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent IntegerExecutions - The number of simultaneous executions to reserve for the function.
- role String
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime String
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management RuntimeConfig Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start SnapStart - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start SnapResponse Start Response - The function's SnapStart setting.
- List<Tag>
- A list of tags to apply to the function.
- timeout Integer
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config TracingConfig - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config VpcConfig - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures (string | Architectures)[]
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn string
- Property arn
- code Code
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter DeadConfig Letter Config - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description string
- A description of the function.
- environment Environment
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage EphemeralStorage - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System FileConfigs System Config[] - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config ImageConfig - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers string[]
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config LoggingConfig - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size number - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type string | PackageType - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent numberExecutions - The number of simultaneous executions to reserve for the function.
- role string
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management RuntimeConfig Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start SnapStart - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start SnapResponse Start Response - The function's SnapStart setting.
- Tag[]
- A list of tags to apply to the function.
- timeout number
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config TracingConfig - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config VpcConfig - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures Sequence[Union[str, Architectures]]
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn str
- Property arn
- code Code
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code_
signing_ strconfig_ arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead_
letter_ Deadconfig Letter Config - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description str
- A description of the function.
- environment Environment
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral_
storage EphemeralStorage - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file_
system_ Sequence[Fileconfigs System Config] - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function_
name str - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler str
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image_
config ImageConfig - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms_
key_ strarn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers Sequence[str]
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging_
config LoggingConfig - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory_
size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package_
type str | PackageType - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved_
concurrent_ intexecutions - The number of simultaneous executions to reserve for the function.
- role str
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime str
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime_
management_ Runtimeconfig Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap_
start SnapStart - The function's SnapStart setting. The function's SnapStart setting.
- snap_
start_ Snapresponse Start Response - The function's SnapStart setting.
- Sequence[Tag]
- A list of tags to apply to the function.
- timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing_
config TracingConfig - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc_
config VpcConfig - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures List<String | "arm64" | "x86_64">
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn String
- Property arn
- code Property Map
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing StringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter Property MapConfig - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description String
- A description of the function.
- environment Property Map
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage Property Map - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System List<Property Map>Configs - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name String - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler String
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config Property Map - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key StringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers List<String>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config Property Map - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size Number - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type String | "Image" | "Zip" - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent NumberExecutions - The number of simultaneous executions to reserve for the function.
- role String
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime String
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management Property MapConfig - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start Property Map - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start Property MapResponse - The function's SnapStart setting.
- List<Property Map>
- A list of tags to apply to the function.
- timeout Number
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config Property Map - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config Property Map - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
AwsLambdaFunctionPropertiesResponse, AwsLambdaFunctionPropertiesResponseArgs
- Architectures List<string>
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - Arn string
- Property arn
- Code
Pulumi.
Azure Native. Aws Connector. Inputs. Code Response - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- Code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- Dead
Letter Pulumi.Config Azure Native. Aws Connector. Inputs. Dead Letter Config Response - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- Description string
- A description of the function.
- Environment
Pulumi.
Azure Native. Aws Connector. Inputs. Environment Response - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- Ephemeral
Storage Pulumi.Azure Native. Aws Connector. Inputs. Ephemeral Storage Response - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - File
System List<Pulumi.Configs Azure Native. Aws Connector. Inputs. File System Config Response> - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - Function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- Image
Config Pulumi.Azure Native. Aws Connector. Inputs. Image Config Response - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- Kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- Layers List<string>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- Logging
Config Pulumi.Azure Native. Aws Connector. Inputs. Logging Config Response - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- Memory
Size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- Package
Type string - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Reserved
Concurrent intExecutions - The number of simultaneous executions to reserve for the function.
- Role string
- The Amazon Resource Name (ARN) of the function's execution role.
- Runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- Runtime
Management Pulumi.Config Azure Native. Aws Connector. Inputs. Runtime Management Config Response - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start Pulumi.Azure Native. Aws Connector. Inputs. Snap Start Response - The function's SnapStart setting. The function's SnapStart setting.
- Snap
Start Pulumi.Response Azure Native. Aws Connector. Inputs. Snap Start Response Response - The function's SnapStart setting.
- List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Response> - A list of tags to apply to the function.
- Timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- Tracing
Config Pulumi.Azure Native. Aws Connector. Inputs. Tracing Config Response - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - Vpc
Config Pulumi.Azure Native. Aws Connector. Inputs. Vpc Config Response - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- Architectures []string
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - Arn string
- Property arn
- Code
Code
Response - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- Code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- Dead
Letter DeadConfig Letter Config Response - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- Description string
- A description of the function.
- Environment
Environment
Response - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- Ephemeral
Storage EphemeralStorage Response - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - File
System []FileConfigs System Config Response - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - Function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- Image
Config ImageConfig Response - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- Kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- Layers []string
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- Logging
Config LoggingConfig Response - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- Memory
Size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- Package
Type string - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Reserved
Concurrent intExecutions - The number of simultaneous executions to reserve for the function.
- Role string
- The Amazon Resource Name (ARN) of the function's execution role.
- Runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- Runtime
Management RuntimeConfig Management Config Response - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start SnapStart Response - The function's SnapStart setting. The function's SnapStart setting.
- Snap
Start SnapResponse Start Response Response - The function's SnapStart setting.
- []Tag
Response - A list of tags to apply to the function.
- Timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- Tracing
Config TracingConfig Response - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - Vpc
Config VpcConfig Response - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures List<String>
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn String
- Property arn
- code
Code
Response - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing StringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter DeadConfig Letter Config Response - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description String
- A description of the function.
- environment
Environment
Response - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage EphemeralStorage Response - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System List<FileConfigs System Config Response> - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name String - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler String
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config ImageConfig Response - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key StringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers List<String>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config LoggingConfig Response - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size Integer - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type String - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent IntegerExecutions - The number of simultaneous executions to reserve for the function.
- role String
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime String
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management RuntimeConfig Management Config Response - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start SnapStart Response - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start SnapResponse Start Response Response - The function's SnapStart setting.
- List<Tag
Response> - A list of tags to apply to the function.
- timeout Integer
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config TracingConfig Response - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config VpcConfig Response - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures string[]
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn string
- Property arn
- code
Code
Response - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing stringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter DeadConfig Letter Config Response - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description string
- A description of the function.
- environment
Environment
Response - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage EphemeralStorage Response - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System FileConfigs System Config Response[] - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name string - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler string
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config ImageConfig Response - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key stringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers string[]
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config LoggingConfig Response - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size number - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type string - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent numberExecutions - The number of simultaneous executions to reserve for the function.
- role string
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime string
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management RuntimeConfig Management Config Response - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start SnapStart Response - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start SnapResponse Start Response Response - The function's SnapStart setting.
- Tag
Response[] - A list of tags to apply to the function.
- timeout number
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config TracingConfig Response - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config VpcConfig Response - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures Sequence[str]
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn str
- Property arn
- code
Code
Response - The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code_
signing_ strconfig_ arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead_
letter_ Deadconfig Letter Config Response - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description str
- A description of the function.
- environment
Environment
Response - Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral_
storage EphemeralStorage Response - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file_
system_ Sequence[Fileconfigs System Config Response] - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function_
name str - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler str
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image_
config ImageConfig Response - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms_
key_ strarn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers Sequence[str]
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging_
config LoggingConfig Response - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory_
size int - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package_
type str - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved_
concurrent_ intexecutions - The number of simultaneous executions to reserve for the function.
- role str
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime str
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime_
management_ Runtimeconfig Management Config Response - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap_
start SnapStart Response - The function's SnapStart setting. The function's SnapStart setting.
- snap_
start_ Snapresponse Start Response Response - The function's SnapStart setting.
- Sequence[Tag
Response] - A list of tags to apply to the function.
- timeout int
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing_
config TracingConfig Response - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc_
config VpcConfig Response - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
- architectures List<String>
- The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is
x86_64
. - arn String
- Property arn
- code Property Map
- The code for the function. The deployment package for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
- code
Signing StringConfig Arn - To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
- dead
Letter Property MapConfig - A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. The dead-letter queue for failed asynchronous invocations.
- description String
- A description of the function.
- environment Property Map
- Environment variables that are accessible from function code during execution. A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
- ephemeral
Storage Property Map - The size of the function's
/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. The size of the function's/tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. - file
System List<Property Map>Configs - Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a
DependsOn
attribute to ensure that the mount target is created or updated before the function. For more information about using theDependsOn
attribute, see DependsOn Attribute. - function
Name String - The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- handler String
- The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
- image
Config Property Map - Configuration values that override the container image Dockerfile settings. For more information, see Container image settings. Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
- kms
Key StringArn - The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's environment variables. When Lambda SnapStart is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
- layers List<String>
- A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
- logging
Config Property Map - The function's Amazon CloudWatch Logs configuration settings. The function's Amazon CloudWatch Logs configuration settings.
- memory
Size Number - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
- package
Type String - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - reserved
Concurrent NumberExecutions - The number of simultaneous executions to reserve for the function.
- role String
- The Amazon Resource Name (ARN) of the function's execution role.
- runtime String
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
- runtime
Management Property MapConfig - Sets the runtime management configuration for a function's version. For more information, see Runtime updates. Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start Property Map - The function's SnapStart setting. The function's SnapStart setting.
- snap
Start Property MapResponse - The function's SnapStart setting.
- List<Property Map>
- A list of tags to apply to the function.
- timeout Number
- The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
- tracing
Config Property Map - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. The function's tracing configuration. To sample and record incoming requests, setMode
toActive
. - vpc
Config Property Map - For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC. The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see VPC Settings. When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. To monitor network interfaces, CFN needs the
ec2:DescribeNetworkInterfaces
permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
Code, CodeArgs
- Image
Uri string - URI of a container image in the Amazon ECR registry.
- S3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- S3Key string
- The Amazon S3 key of the deployment package.
- S3Object
Version string - For versioned objects, the version of the deployment package object to use.
- Zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- Image
Uri string - URI of a container image in the Amazon ECR registry.
- S3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- S3Key string
- The Amazon S3 key of the deployment package.
- S3Object
Version string - For versioned objects, the version of the deployment package object to use.
- Zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri String - URI of a container image in the Amazon ECR registry.
- s3Bucket String
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key String
- The Amazon S3 key of the deployment package.
- s3Object
Version String - For versioned objects, the version of the deployment package object to use.
- zip
File String - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri string - URI of a container image in the Amazon ECR registry.
- s3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key string
- The Amazon S3 key of the deployment package.
- s3Object
Version string - For versioned objects, the version of the deployment package object to use.
- zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image_
uri str - URI of a container image in the Amazon ECR registry.
- s3_
bucket str - An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3_
key str - The Amazon S3 key of the deployment package.
- s3_
object_ strversion - For versioned objects, the version of the deployment package object to use.
- zip_
file str - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri String - URI of a container image in the Amazon ECR registry.
- s3Bucket String
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key String
- The Amazon S3 key of the deployment package.
- s3Object
Version String - For versioned objects, the version of the deployment package object to use.
- zip
File String - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
CodeResponse, CodeResponseArgs
- Image
Uri string - URI of a container image in the Amazon ECR registry.
- S3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- S3Key string
- The Amazon S3 key of the deployment package.
- S3Object
Version string - For versioned objects, the version of the deployment package object to use.
- Zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- Image
Uri string - URI of a container image in the Amazon ECR registry.
- S3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- S3Key string
- The Amazon S3 key of the deployment package.
- S3Object
Version string - For versioned objects, the version of the deployment package object to use.
- Zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri String - URI of a container image in the Amazon ECR registry.
- s3Bucket String
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key String
- The Amazon S3 key of the deployment package.
- s3Object
Version String - For versioned objects, the version of the deployment package object to use.
- zip
File String - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri string - URI of a container image in the Amazon ECR registry.
- s3Bucket string
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key string
- The Amazon S3 key of the deployment package.
- s3Object
Version string - For versioned objects, the version of the deployment package object to use.
- zip
File string - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image_
uri str - URI of a container image in the Amazon ECR registry.
- s3_
bucket str - An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3_
key str - The Amazon S3 key of the deployment package.
- s3_
object_ strversion - For versioned objects, the version of the deployment package object to use.
- zip_
file str - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
- image
Uri String - URI of a container image in the Amazon ECR registry.
- s3Bucket String
- An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
- s3Key String
- The Amazon S3 key of the deployment package.
- s3Object
Version String - For versioned objects, the version of the deployment package object to use.
- zip
File String - (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named
index
and zips it to create a deployment package. This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
. For JSON, you must escape quotes and special characters such as newline (\n
) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.
DeadLetterConfig, DeadLetterConfigArgs
- Target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- Target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn String - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target_
arn str - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn String - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
DeadLetterConfigResponse, DeadLetterConfigResponseArgs
- Target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- Target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn String - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn string - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target_
arn str - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- target
Arn String - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
Environment, EnvironmentArgs
- Variables Dictionary<string, string>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- Variables map[string]string
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Map<String,String>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables {[key: string]: string}
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Mapping[str, str]
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Map<String>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
EnvironmentResponse, EnvironmentResponseArgs
- Variables Dictionary<string, string>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- Variables map[string]string
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Map<String,String>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables {[key: string]: string}
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Mapping[str, str]
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
- variables Map<String>
- Environment variable key-value pairs. For more information, see Using Lambda environment variables.
EphemeralStorage, EphemeralStorageArgs
- size int
- The size of the function's
/tmp
directory. - size_
in_ intgi_ b - The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is200
GiB.
EphemeralStorageResponse, EphemeralStorageResponseArgs
- size int
- The size of the function's
/tmp
directory. - size_
in_ intgi_ b - The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is200
GiB.
FileSystemConfig, FileSystemConfigArgs
- Arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- Local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- Arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- Local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn String
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount StringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn str
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local_
mount_ strpath - The path where the function can access the file system, starting with
/mnt/
.
- arn String
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount StringPath - The path where the function can access the file system, starting with
/mnt/
.
FileSystemConfigResponse, FileSystemConfigResponseArgs
- Arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- Local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- Arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- Local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn String
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount StringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn string
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount stringPath - The path where the function can access the file system, starting with
/mnt/
.
- arn str
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local_
mount_ strpath - The path where the function can access the file system, starting with
/mnt/
.
- arn String
- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
- local
Mount StringPath - The path where the function can access the file system, starting with
/mnt/
.
ImageConfig, ImageConfigArgs
- Command List<string>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- Entry
Point List<string> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- Working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- Command []string
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- Entry
Point []string - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- Working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command List<String>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point List<String> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory String - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command string[]
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point string[] - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command Sequence[str]
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry_
point Sequence[str] - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working_
directory str - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command List<String>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point List<String> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory String - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
ImageConfigResponse, ImageConfigResponseArgs
- Command List<string>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- Entry
Point List<string> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- Working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- Command []string
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- Entry
Point []string - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- Working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command List<String>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point List<String> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory String - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command string[]
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point string[] - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory string - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command Sequence[str]
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry_
point Sequence[str] - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working_
directory str - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
- command List<String>
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
- entry
Point List<String> - Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
- working
Directory String - Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
LambdaFunctionProperties, LambdaFunctionPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Lambda Function Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsLambda Function Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsLambda Function Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsLambda Function Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsLambda Function Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
LambdaFunctionPropertiesResponse, LambdaFunctionPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Lambda Function Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsLambda Function Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsLambda Function Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsLambda Function Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsLambda Function Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
LoggingConfig, LoggingConfigArgs
- Application
Log string | Pulumi.Level Azure Native. Aws Connector. Logging Config Application Log Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - Failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- Log
Format string | Pulumi.Azure Native. Aws Connector. Logging Config Log Format - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - Protocol
string | Pulumi.
Azure Native. Aws Connector. Logging Config Protocol - Property protocol
- Success
Feedback stringRole Arn - Property successFeedbackRoleArn
- Success
Feedback stringSample Rate - Property successFeedbackSampleRate
- System
Log string | Pulumi.Level Azure Native. Aws Connector. Logging Config System Log Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- Application
Log string | LoggingLevel Config Application Log Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - Failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- Log
Format string | LoggingConfig Log Format - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - Protocol
string | Logging
Config Protocol - Property protocol
- Success
Feedback stringRole Arn - Property successFeedbackRoleArn
- Success
Feedback stringSample Rate - Property successFeedbackSampleRate
- System
Log string | LoggingLevel Config System Log Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log String | LoggingLevel Config Application Log Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback StringRole Arn - Property failureFeedbackRoleArn
- log
Format String | LoggingConfig Log Format - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group String - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol
String | Logging
Config Protocol - Property protocol
- success
Feedback StringRole Arn - Property successFeedbackRoleArn
- success
Feedback StringSample Rate - Property successFeedbackSampleRate
- system
Log String | LoggingLevel Config System Log Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log string | LoggingLevel Config Application Log Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- log
Format string | LoggingConfig Log Format - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol
string | Logging
Config Protocol - Property protocol
- success
Feedback stringRole Arn - Property successFeedbackRoleArn
- success
Feedback stringSample Rate - Property successFeedbackSampleRate
- system
Log string | LoggingLevel Config System Log Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application_
log_ str | Logginglevel Config Application Log Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure_
feedback_ strrole_ arn - Property failureFeedbackRoleArn
- log_
format str | LoggingConfig Log Format - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log_
group str - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol
str | Logging
Config Protocol - Property protocol
- success_
feedback_ strrole_ arn - Property successFeedbackRoleArn
- success_
feedback_ strsample_ rate - Property successFeedbackSampleRate
- system_
log_ str | Logginglevel Config System Log Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log String | "DEBUG" | "ERROR" | "FATAL" | "INFO" | "TRACE" | "WARN"Level - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback StringRole Arn - Property failureFeedbackRoleArn
- log
Format String | "JSON" | "Text" - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group String - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol String | "application" | "firehose" | "http/s" | "lambda" | "sqs"
- Property protocol
- success
Feedback StringRole Arn - Property successFeedbackRoleArn
- success
Feedback StringSample Rate - Property successFeedbackSampleRate
- system
Log String | "DEBUG" | "INFO" | "WARN"Level - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
LoggingConfigApplicationLogLevel, LoggingConfigApplicationLogLevelArgs
- DEBUG
- DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- ERROR
- ERRORLoggingConfigApplicationLogLevel enum ERROR
- FATAL
- FATALLoggingConfigApplicationLogLevel enum FATAL
- INFO
- INFOLoggingConfigApplicationLogLevel enum INFO
- TRACE
- TRACELoggingConfigApplicationLogLevel enum TRACE
- WARN
- WARNLoggingConfigApplicationLogLevel enum WARN
- Logging
Config Application Log Level DEBUG - DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- Logging
Config Application Log Level ERROR - ERRORLoggingConfigApplicationLogLevel enum ERROR
- Logging
Config Application Log Level FATAL - FATALLoggingConfigApplicationLogLevel enum FATAL
- Logging
Config Application Log Level INFO - INFOLoggingConfigApplicationLogLevel enum INFO
- Logging
Config Application Log Level TRACE - TRACELoggingConfigApplicationLogLevel enum TRACE
- Logging
Config Application Log Level WARN - WARNLoggingConfigApplicationLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- ERROR
- ERRORLoggingConfigApplicationLogLevel enum ERROR
- FATAL
- FATALLoggingConfigApplicationLogLevel enum FATAL
- INFO
- INFOLoggingConfigApplicationLogLevel enum INFO
- TRACE
- TRACELoggingConfigApplicationLogLevel enum TRACE
- WARN
- WARNLoggingConfigApplicationLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- ERROR
- ERRORLoggingConfigApplicationLogLevel enum ERROR
- FATAL
- FATALLoggingConfigApplicationLogLevel enum FATAL
- INFO
- INFOLoggingConfigApplicationLogLevel enum INFO
- TRACE
- TRACELoggingConfigApplicationLogLevel enum TRACE
- WARN
- WARNLoggingConfigApplicationLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- ERROR
- ERRORLoggingConfigApplicationLogLevel enum ERROR
- FATAL
- FATALLoggingConfigApplicationLogLevel enum FATAL
- INFO
- INFOLoggingConfigApplicationLogLevel enum INFO
- TRACE
- TRACELoggingConfigApplicationLogLevel enum TRACE
- WARN
- WARNLoggingConfigApplicationLogLevel enum WARN
- "DEBUG"
- DEBUGLoggingConfigApplicationLogLevel enum DEBUG
- "ERROR"
- ERRORLoggingConfigApplicationLogLevel enum ERROR
- "FATAL"
- FATALLoggingConfigApplicationLogLevel enum FATAL
- "INFO"
- INFOLoggingConfigApplicationLogLevel enum INFO
- "TRACE"
- TRACELoggingConfigApplicationLogLevel enum TRACE
- "WARN"
- WARNLoggingConfigApplicationLogLevel enum WARN
LoggingConfigLogFormat, LoggingConfigLogFormatArgs
- JSON
- JSONLoggingConfigLogFormat enum JSON
- Text
- TextLoggingConfigLogFormat enum Text
- Logging
Config Log Format JSON - JSONLoggingConfigLogFormat enum JSON
- Logging
Config Log Format Text - TextLoggingConfigLogFormat enum Text
- JSON
- JSONLoggingConfigLogFormat enum JSON
- Text
- TextLoggingConfigLogFormat enum Text
- JSON
- JSONLoggingConfigLogFormat enum JSON
- Text
- TextLoggingConfigLogFormat enum Text
- JSON
- JSONLoggingConfigLogFormat enum JSON
- TEXT
- TextLoggingConfigLogFormat enum Text
- "JSON"
- JSONLoggingConfigLogFormat enum JSON
- "Text"
- TextLoggingConfigLogFormat enum Text
LoggingConfigProtocol, LoggingConfigProtocolArgs
- Application
- applicationLoggingConfigProtocol enum application
- Firehose
- firehoseLoggingConfigProtocol enum firehose
- Http
S - http/sLoggingConfigProtocol enum http/s
- Lambda
- lambdaLoggingConfigProtocol enum lambda
- Sqs
- sqsLoggingConfigProtocol enum sqs
- Logging
Config Protocol Application - applicationLoggingConfigProtocol enum application
- Logging
Config Protocol Firehose - firehoseLoggingConfigProtocol enum firehose
- Logging
Config Protocol Http S - http/sLoggingConfigProtocol enum http/s
- Logging
Config Protocol Lambda - lambdaLoggingConfigProtocol enum lambda
- Logging
Config Protocol Sqs - sqsLoggingConfigProtocol enum sqs
- Application
- applicationLoggingConfigProtocol enum application
- Firehose
- firehoseLoggingConfigProtocol enum firehose
- Http
S - http/sLoggingConfigProtocol enum http/s
- Lambda
- lambdaLoggingConfigProtocol enum lambda
- Sqs
- sqsLoggingConfigProtocol enum sqs
- Application
- applicationLoggingConfigProtocol enum application
- Firehose
- firehoseLoggingConfigProtocol enum firehose
- Http
S - http/sLoggingConfigProtocol enum http/s
- Lambda
- lambdaLoggingConfigProtocol enum lambda
- Sqs
- sqsLoggingConfigProtocol enum sqs
- APPLICATION
- applicationLoggingConfigProtocol enum application
- FIREHOSE
- firehoseLoggingConfigProtocol enum firehose
- HTTP_S
- http/sLoggingConfigProtocol enum http/s
- LAMBDA_
- lambdaLoggingConfigProtocol enum lambda
- SQS
- sqsLoggingConfigProtocol enum sqs
- "application"
- applicationLoggingConfigProtocol enum application
- "firehose"
- firehoseLoggingConfigProtocol enum firehose
- "http/s"
- http/sLoggingConfigProtocol enum http/s
- "lambda"
- lambdaLoggingConfigProtocol enum lambda
- "sqs"
- sqsLoggingConfigProtocol enum sqs
LoggingConfigResponse, LoggingConfigResponseArgs
- Application
Log stringLevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - Failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- Log
Format string - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - Protocol string
- Property protocol
- Success
Feedback stringRole Arn - Property successFeedbackRoleArn
- Success
Feedback stringSample Rate - Property successFeedbackSampleRate
- System
Log stringLevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- Application
Log stringLevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - Failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- Log
Format string - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - Protocol string
- Property protocol
- Success
Feedback stringRole Arn - Property successFeedbackRoleArn
- Success
Feedback stringSample Rate - Property successFeedbackSampleRate
- System
Log stringLevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log StringLevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback StringRole Arn - Property failureFeedbackRoleArn
- log
Format String - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group String - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol String
- Property protocol
- success
Feedback StringRole Arn - Property successFeedbackRoleArn
- success
Feedback StringSample Rate - Property successFeedbackSampleRate
- system
Log StringLevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log stringLevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback stringRole Arn - Property failureFeedbackRoleArn
- log
Format string - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group string - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol string
- Property protocol
- success
Feedback stringRole Arn - Property successFeedbackRoleArn
- success
Feedback stringSample Rate - Property successFeedbackSampleRate
- system
Log stringLevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application_
log_ strlevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure_
feedback_ strrole_ arn - Property failureFeedbackRoleArn
- log_
format str - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log_
group str - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol str
- Property protocol
- success_
feedback_ strrole_ arn - Property successFeedbackRoleArn
- success_
feedback_ strsample_ rate - Property successFeedbackSampleRate
- system_
log_ strlevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
- application
Log StringLevel - Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE
is the highest level andFATAL
is the lowest. - failure
Feedback StringRole Arn - Property failureFeedbackRoleArn
- log
Format String - The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- log
Group String - The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name. - protocol String
- Property protocol
- success
Feedback StringRole Arn - Property successFeedbackRoleArn
- success
Feedback StringSample Rate - Property successFeedbackSampleRate
- system
Log StringLevel - Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG
is the highest level andWARN
is the lowest.
LoggingConfigSystemLogLevel, LoggingConfigSystemLogLevelArgs
- DEBUG
- DEBUGLoggingConfigSystemLogLevel enum DEBUG
- INFO
- INFOLoggingConfigSystemLogLevel enum INFO
- WARN
- WARNLoggingConfigSystemLogLevel enum WARN
- Logging
Config System Log Level DEBUG - DEBUGLoggingConfigSystemLogLevel enum DEBUG
- Logging
Config System Log Level INFO - INFOLoggingConfigSystemLogLevel enum INFO
- Logging
Config System Log Level WARN - WARNLoggingConfigSystemLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigSystemLogLevel enum DEBUG
- INFO
- INFOLoggingConfigSystemLogLevel enum INFO
- WARN
- WARNLoggingConfigSystemLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigSystemLogLevel enum DEBUG
- INFO
- INFOLoggingConfigSystemLogLevel enum INFO
- WARN
- WARNLoggingConfigSystemLogLevel enum WARN
- DEBUG
- DEBUGLoggingConfigSystemLogLevel enum DEBUG
- INFO
- INFOLoggingConfigSystemLogLevel enum INFO
- WARN
- WARNLoggingConfigSystemLogLevel enum WARN
- "DEBUG"
- DEBUGLoggingConfigSystemLogLevel enum DEBUG
- "INFO"
- INFOLoggingConfigSystemLogLevel enum INFO
- "WARN"
- WARNLoggingConfigSystemLogLevel enum WARN
PackageType, PackageTypeArgs
- Image
- ImagePackageType enum Image
- Zip
- ZipPackageType enum Zip
- Package
Type Image - ImagePackageType enum Image
- Package
Type Zip - ZipPackageType enum Zip
- Image
- ImagePackageType enum Image
- Zip
- ZipPackageType enum Zip
- Image
- ImagePackageType enum Image
- Zip
- ZipPackageType enum Zip
- IMAGE
- ImagePackageType enum Image
- ZIP
- ZipPackageType enum Zip
- "Image"
- ImagePackageType enum Image
- "Zip"
- ZipPackageType enum Zip
RuntimeManagementConfig, RuntimeManagementConfigArgs
- Runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- Update
Runtime string | Pulumi.On Azure Native. Aws Connector. Runtime Management Config Update Runtime On - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- Runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- Update
Runtime string | RuntimeOn Management Config Update Runtime On - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version StringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime String | RuntimeOn Management Config Update Runtime On - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime string | RuntimeOn Management Config Update Runtime On - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime_
version_ strarn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update_
runtime_ str | Runtimeon Management Config Update Runtime On - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version StringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime String | "Auto" | "FunctionOn Update" | "Manual" - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
RuntimeManagementConfigResponse, RuntimeManagementConfigResponseArgs
- Runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- Update
Runtime stringOn - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- Runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- Update
Runtime stringOn - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version StringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime StringOn - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version stringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime stringOn - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime_
version_ strarn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update_
runtime_ stron - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
- runtime
Version StringArn - The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.
- update
Runtime StringOn - Specify the runtime update mode. + Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best choice for most customers to ensure they always benefit from runtime updates. + FunctionUpdate - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see Roll back a runtime version. Valid Values:
Auto
|FunctionUpdate
|Manual
RuntimeManagementConfigUpdateRuntimeOn, RuntimeManagementConfigUpdateRuntimeOnArgs
- Auto
- AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- Function
Update - FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- Manual
- ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
- Runtime
Management Config Update Runtime On Auto - AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- Runtime
Management Config Update Runtime On Function Update - FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- Runtime
Management Config Update Runtime On Manual - ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
- Auto
- AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- Function
Update - FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- Manual
- ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
- Auto
- AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- Function
Update - FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- Manual
- ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
- AUTO
- AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- FUNCTION_UPDATE
- FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- MANUAL
- ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
- "Auto"
- AutoRuntimeManagementConfigUpdateRuntimeOn enum Auto
- "Function
Update" - FunctionUpdateRuntimeManagementConfigUpdateRuntimeOn enum FunctionUpdate
- "Manual"
- ManualRuntimeManagementConfigUpdateRuntimeOn enum Manual
SnapStart, SnapStartArgs
- Apply
On string | Pulumi.Azure Native. Aws Connector. Snap Start Apply On - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- Apply
On string | SnapStart Apply On - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On String | SnapStart Apply On - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On string | SnapStart Apply On - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply_
on str | SnapStart Apply On - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On String | "None" | "PublishedVersions" - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
SnapStartApplyOn, SnapStartApplyOnArgs
- None
- NoneSnapStartApplyOn enum None
- Published
Versions - PublishedVersionsSnapStartApplyOn enum PublishedVersions
- Snap
Start Apply On None - NoneSnapStartApplyOn enum None
- Snap
Start Apply On Published Versions - PublishedVersionsSnapStartApplyOn enum PublishedVersions
- None
- NoneSnapStartApplyOn enum None
- Published
Versions - PublishedVersionsSnapStartApplyOn enum PublishedVersions
- None
- NoneSnapStartApplyOn enum None
- Published
Versions - PublishedVersionsSnapStartApplyOn enum PublishedVersions
- NONE
- NoneSnapStartApplyOn enum None
- PUBLISHED_VERSIONS
- PublishedVersionsSnapStartApplyOn enum PublishedVersions
- "None"
- NoneSnapStartApplyOn enum None
- "Published
Versions" - PublishedVersionsSnapStartApplyOn enum PublishedVersions
SnapStartResponse, SnapStartResponseArgs
- Apply
On string - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- Apply
On string - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On String - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On string - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply_
on str - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
- apply
On String - Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
SnapStartResponseResponse, SnapStartResponseResponseArgs
- Apply
On string - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - Optimization
Status string - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- Apply
On string - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - Optimization
Status string - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On String - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status String - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On string - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status string - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply_
on str - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization_
status str - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On String - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status String - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Tag, TagArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
TagResponse, TagResponseArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
TracingConfig, TracingConfigArgs
- Mode
string | Pulumi.
Azure Native. Aws Connector. Tracing Config Mode - The tracing mode.
- Mode
string | Tracing
Config Mode - The tracing mode.
- mode
String | Tracing
Config Mode - The tracing mode.
- mode
string | Tracing
Config Mode - The tracing mode.
- mode
str | Tracing
Config Mode - The tracing mode.
- mode
String | "Active" | "Pass
Through" - The tracing mode.
TracingConfigMode, TracingConfigModeArgs
- Active
- ActiveTracingConfigMode enum Active
- Pass
Through - PassThroughTracingConfigMode enum PassThrough
- Tracing
Config Mode Active - ActiveTracingConfigMode enum Active
- Tracing
Config Mode Pass Through - PassThroughTracingConfigMode enum PassThrough
- Active
- ActiveTracingConfigMode enum Active
- Pass
Through - PassThroughTracingConfigMode enum PassThrough
- Active
- ActiveTracingConfigMode enum Active
- Pass
Through - PassThroughTracingConfigMode enum PassThrough
- ACTIVE
- ActiveTracingConfigMode enum Active
- PASS_THROUGH
- PassThroughTracingConfigMode enum PassThrough
- "Active"
- ActiveTracingConfigMode enum Active
- "Pass
Through" - PassThroughTracingConfigMode enum PassThrough
TracingConfigResponse, TracingConfigResponseArgs
- Mode string
- The tracing mode.
- Mode string
- The tracing mode.
- mode String
- The tracing mode.
- mode string
- The tracing mode.
- mode str
- The tracing mode.
- mode String
- The tracing mode.
VpcConfig, VpcConfigArgs
- Ipv6Allowed
For boolDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- Security
Group List<string>Ids - A list of VPC security group IDs.
- Subnet
Ids List<string> - A list of VPC subnet IDs.
- Subnets List<string>
- Vpc
Id string
- Ipv6Allowed
For boolDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- Security
Group []stringIds - A list of VPC security group IDs.
- Subnet
Ids []string - A list of VPC subnet IDs.
- Subnets []string
- Vpc
Id string
- ipv6Allowed
For BooleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- security
Group List<String>Ids - A list of VPC security group IDs.
- subnet
Ids List<String> - A list of VPC subnet IDs.
- subnets List<String>
- vpc
Id String
- ipv6Allowed
For booleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- security
Group string[]Ids - A list of VPC security group IDs.
- subnet
Ids string[] - A list of VPC subnet IDs.
- subnets string[]
- vpc
Id string
- ipv6_
allowed_ boolfor_ dual_ stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- security_
group_ Sequence[str]ids - A list of VPC security group IDs.
- subnet_
ids Sequence[str] - A list of VPC subnet IDs.
- subnets Sequence[str]
- vpc_
id str
- ipv6Allowed
For BooleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- security
Group List<String>Ids - A list of VPC security group IDs.
- subnet
Ids List<String> - A list of VPC subnet IDs.
- subnets List<String>
- vpc
Id String
VpcConfigResponse, VpcConfigResponseArgs
- Cluster
Security stringGroup Id - Endpoint
Private boolAccess - Endpoint
Public boolAccess - Ipv6Allowed
For boolDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- Public
Access List<string>Cidrs - Security
Group List<string>Ids - A list of VPC security group IDs.
- Subnet
Ids List<string> - A list of VPC subnet IDs.
- Subnets List<string>
- Vpc
Id string
- Cluster
Security stringGroup Id - Endpoint
Private boolAccess - Endpoint
Public boolAccess - Ipv6Allowed
For boolDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- Public
Access []stringCidrs - Security
Group []stringIds - A list of VPC security group IDs.
- Subnet
Ids []string - A list of VPC subnet IDs.
- Subnets []string
- Vpc
Id string
- cluster
Security StringGroup Id - endpoint
Private BooleanAccess - endpoint
Public BooleanAccess - ipv6Allowed
For BooleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- public
Access List<String>Cidrs - security
Group List<String>Ids - A list of VPC security group IDs.
- subnet
Ids List<String> - A list of VPC subnet IDs.
- subnets List<String>
- vpc
Id String
- cluster
Security stringGroup Id - endpoint
Private booleanAccess - endpoint
Public booleanAccess - ipv6Allowed
For booleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- public
Access string[]Cidrs - security
Group string[]Ids - A list of VPC security group IDs.
- subnet
Ids string[] - A list of VPC subnet IDs.
- subnets string[]
- vpc
Id string
- cluster_
security_ strgroup_ id - endpoint_
private_ boolaccess - endpoint_
public_ boolaccess - ipv6_
allowed_ boolfor_ dual_ stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- public_
access_ Sequence[str]cidrs - security_
group_ Sequence[str]ids - A list of VPC security group IDs.
- subnet_
ids Sequence[str] - A list of VPC subnet IDs.
- subnets Sequence[str]
- vpc_
id str
- cluster
Security StringGroup Id - endpoint
Private BooleanAccess - endpoint
Public BooleanAccess - ipv6Allowed
For BooleanDual Stack - Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
- public
Access List<String>Cidrs - security
Group List<String>Ids - A list of VPC security group IDs.
- subnet
Ids List<String> - A list of VPC subnet IDs.
- subnets List<String>
- vpc
Id String
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:LambdaFunction qdak /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/lambdaFunctions/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0