We recommend new projects start with resources from the AWS provider.
aws-native.lambda.getFunction
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Lambda::Function
resource creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
You set the package type to Image
if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.
You set the package type to Zip
if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. For a Python example, see Deploy Python Lambda functions with .zip file archives.
You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode
, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
Note that you configure provisioned concurrency on a AWS::Lambda::Version
or a AWS::Lambda::Alias
.
For a complete introduction to Lambda functions, see What is Lambda? in the Lambda developer guide.
Using getFunction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFunction(args: GetFunctionArgs, opts?: InvokeOptions): Promise<GetFunctionResult>
function getFunctionOutput(args: GetFunctionOutputArgs, opts?: InvokeOptions): Output<GetFunctionResult>
def get_function(function_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionResult
def get_function_output(function_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFunctionResult]
func LookupFunction(ctx *Context, args *LookupFunctionArgs, opts ...InvokeOption) (*LookupFunctionResult, error)
func LookupFunctionOutput(ctx *Context, args *LookupFunctionOutputArgs, opts ...InvokeOption) LookupFunctionResultOutput
> Note: This function is named LookupFunction
in the Go SDK.
public static class GetFunction
{
public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:lambda:getFunction
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getFunction Result
The following output properties are available:
- Architectures
List<Pulumi.
Aws Native. Lambda. Function Architectures Item> - 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
- The Amazon Resource Name (ARN) of the function.
- 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 Aws Native. Lambda. Outputs. Function 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.
- Description string
- A description of the function.
- Environment
Pulumi.
Aws Native. Lambda. Outputs. Function Environment - Environment variables that are accessible from function code during execution.
- Ephemeral
Storage Pulumi.Aws Native. Lambda. Outputs. Function 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. - File
System List<Pulumi.Configs Aws Native. Lambda. Outputs. Function 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. - 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.Aws Native. Lambda. Outputs. Function Image Config - 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.Aws Native. Lambda. Outputs. Function Logging Config - 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 Pulumi.Aws Native. Lambda. Function Package Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Recursive
Loop Pulumi.Aws Native. Lambda. Function Recursive Loop The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- Runtime
Management Pulumi.Config Aws Native. Lambda. Outputs. Function Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start Pulumi.Response Aws Native. Lambda. Outputs. Function Snap Start Response - List<Pulumi.
Aws Native. Outputs. 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.Aws Native. Lambda. Outputs. Function Tracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. - Vpc
Config Pulumi.Aws Native. Lambda. Outputs. Function 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.
- Architectures
[]Function
Architectures Item - 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
- The Amazon Resource Name (ARN) of the function.
- 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 FunctionConfig 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.
- Description string
- A description of the function.
- Environment
Function
Environment - Environment variables that are accessible from function code during execution.
- Ephemeral
Storage FunctionEphemeral 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. - File
System []FunctionConfigs 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. - 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 FunctionImage Config - 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 FunctionLogging Config - 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 FunctionPackage Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - Recursive
Loop FunctionRecursive Loop The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- Runtime
Management FunctionConfig Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- Snap
Start FunctionResponse Snap Start Response - 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 FunctionTracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. - Vpc
Config FunctionVpc 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.
- architectures
List<Function
Architectures Item> - 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
- The Amazon Resource Name (ARN) of the function.
- 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 FunctionConfig 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.
- description String
- A description of the function.
- environment
Function
Environment - Environment variables that are accessible from function code during execution.
- ephemeral
Storage FunctionEphemeral 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. - file
System List<FunctionConfigs 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. - 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 FunctionImage Config - 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 FunctionLogging Config - 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 FunctionPackage Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - recursive
Loop FunctionRecursive Loop The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- runtime
Management FunctionConfig Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start FunctionResponse Snap Start Response - 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 FunctionTracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. - vpc
Config FunctionVpc 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.
- architectures
Function
Architectures Item[] - 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
- The Amazon Resource Name (ARN) of the function.
- 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 FunctionConfig 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.
- description string
- A description of the function.
- environment
Function
Environment - Environment variables that are accessible from function code during execution.
- ephemeral
Storage FunctionEphemeral 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. - file
System FunctionConfigs 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. - 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 FunctionImage Config - 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 FunctionLogging Config - 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 FunctionPackage Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - recursive
Loop FunctionRecursive Loop The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- runtime
Management FunctionConfig Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start FunctionResponse Snap Start Response - 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 FunctionTracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. - vpc
Config FunctionVpc 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.
- architectures
Sequence[lambda_.
Function Architectures Item] - 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
- The Amazon Resource Name (ARN) of the function.
- 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_ lambda_.config Function 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.
- description str
- A description of the function.
- environment
lambda_.
Function Environment - Environment variables that are accessible from function code during execution.
- ephemeral_
storage lambda_.Function 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. - file_
system_ Sequence[lambda_.configs Function 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. - 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 lambda_.Function Image Config - 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 lambda_.Function Logging Config - 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 lambda_.Function Package Type - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - recursive_
loop lambda_.Function Recursive Loop The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- runtime_
management_ lambda_.config Function Runtime Management Config - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap_
start_ lambda_.response Function Snap Start Response - Sequence[root_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 lambda_.Function Tracing Config - Set
Mode
toActive
to sample and trace a subset of incoming requests with X-Ray. - vpc_
config lambda_.Function 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.
- architectures List<"x86_64" | "arm64">
- 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
- The Amazon Resource Name (ARN) of the function.
- 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.
- description String
- A description of the function.
- environment Property Map
- Environment variables that are accessible from function code during execution.
- 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. - 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. - 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.
- 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.
- 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 "Image" | "Zip" - The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive. - recursive
Loop "Allow" | "Terminate" The status of your function's recursive loop detection configuration.
When this value is set to
Allow
and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.When this value is set to
Terminate
and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.- 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. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
- runtime
Management Property MapConfig - Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
- snap
Start Property MapResponse - 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. - 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.
Supporting Types
FunctionArchitecturesItem
FunctionDeadLetterConfig
- 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.
FunctionEnvironment
- 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.
FunctionEphemeralStorage
- Size int
- The size of the function's
/tmp
directory.
- Size int
- The size of the function's
/tmp
directory.
- size Integer
- The size of the function's
/tmp
directory.
- size number
- The size of the function's
/tmp
directory.
- size int
- The size of the function's
/tmp
directory.
- size Number
- The size of the function's
/tmp
directory.
FunctionFileSystemConfig
- 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/
.
FunctionImageConfig
- 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.
FunctionLoggingConfig
- Application
Log Pulumi.Level Aws Native. Lambda. Function 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. - Log
Format Pulumi.Aws Native. Lambda. Function 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. - System
Log Pulumi.Level Aws Native. Lambda. Function 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 FunctionLevel 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. - Log
Format FunctionLogging 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. - System
Log FunctionLevel 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 FunctionLevel 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. - log
Format FunctionLogging 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. - system
Log FunctionLevel 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 FunctionLevel 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. - log
Format FunctionLogging 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. - system
Log FunctionLevel 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_ lambda_.level Function 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. - log_
format lambda_.Function 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 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. - system_
log_ lambda_.level Function 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 "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"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. - log
Format "Text" | "JSON" - 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. - system
Log "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.
FunctionLoggingConfigApplicationLogLevel
FunctionLoggingConfigLogFormat
FunctionLoggingConfigSystemLogLevel
FunctionPackageType
FunctionRecursiveLoop
FunctionRuntimeManagementConfig
- Update
Runtime Pulumi.On Aws Native. Lambda. Function 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 FunctionOn 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 FunctionOn 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 FunctionOn 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_ lambda_.on Function 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_ 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 "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
- 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.
FunctionRuntimeManagementConfigUpdateRuntimeOn
FunctionSnapStartResponse
- Apply
On Pulumi.Aws Native. Lambda. Function Snap Start Response Apply On - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - Optimization
Status Pulumi.Aws Native. Lambda. Function Snap Start Response Optimization Status - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- Apply
On FunctionSnap Start Response Apply On - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - Optimization
Status FunctionSnap Start Response Optimization Status - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On FunctionSnap Start Response Apply On - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status FunctionSnap Start Response Optimization Status - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On FunctionSnap Start Response Apply On - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status FunctionSnap Start Response Optimization Status - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply_
on lambda_.Function Snap Start Response Apply On - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization_
status lambda_.Function Snap Start Response Optimization Status - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- apply
On "PublishedVersions" | "None" - When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - optimization
Status "On" | "Off" - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
FunctionSnapStartResponseApplyOn
FunctionSnapStartResponseOptimizationStatus
FunctionTracingConfig
- Mode
Pulumi.
Aws Native. Lambda. Function Tracing Config Mode - The tracing mode.
- Mode
Function
Tracing Config Mode - The tracing mode.
- mode
Function
Tracing Config Mode - The tracing mode.
- mode
Function
Tracing Config Mode - The tracing mode.
- mode
lambda_.
Function Tracing Config Mode - The tracing mode.
- mode
"Active" | "Pass
Through" - The tracing mode.
FunctionTracingConfigMode
FunctionVpcConfig
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.