latest--aws-lambda-function
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-lambda-function.json |
| Parent schema | serverless-framework-configuration |
Resource Type definition for AWS::Lambda::Function. Source:- No source definition found, add manually please
Properties
5 nested properties
For versioned objects, the version of the deployment package object to use.
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
The source code of your Lambda function. If you include your function source inline with this parameter, AWS CloudFormation places it in a file named index and zips it to create a deployment package..
The Amazon S3 key of the deployment package.
ImageUri.
The Amazon Resource Name (ARN) of the function's execution role.
A description of the function.
The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.
1 nested properties
The tracing mode.
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.
2 nested properties
A list of VPC security groups IDs.
A list of VPC subnet IDs.
2 nested properties
Trigger for runtime update
Unique identifier for a runtime version arn
The number of simultaneous executions to reserve for the function.
The function's SnapStart setting. When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.
1 nested properties
Applying SnapStart setting on function resource type.
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.
The name of the Lambda function, up to 64 characters in length. If you don't specify a name, AWS CloudFormation generates one.
The identifier of the function's runtime.
The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.
PackageType.
A unique Arn for CodeSigningConfig resource
A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
3 nested properties
WorkingDirectory.
Command.
EntryPoint.
The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.
The dead-letter queue for failed asynchronous invocations.
1 nested properties
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.
The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime
A function's environment variable settings.
1 nested properties
Environment variable key-value pairs.
A function's ephemeral storage settings.
1 nested properties
The amount of ephemeral storage that your function has access to.
Definitions
WorkingDirectory.
Command.
EntryPoint.
The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.
The tracing mode.
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.
A list of VPC security groups IDs.
A list of VPC subnet IDs.
The dead-letter queue for failed asynchronous invocations.
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
Trigger for runtime update
Unique identifier for a runtime version arn
The function's SnapStart setting. When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.
Applying SnapStart setting on function resource type.
The function's SnapStart Response. When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.
Indicates whether SnapStart is activated for the specified function version.
Applying SnapStart setting on function resource type.
For versioned objects, the version of the deployment package object to use.
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
The source code of your Lambda function. If you include your function source inline with this parameter, AWS CloudFormation places it in a file named index and zips it to create a deployment package..
The Amazon S3 key of the deployment package.
ImageUri.
A function's environment variable settings.
Environment variable key-value pairs.
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
The path where the function can access the file system, starting with /mnt/.
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 -.
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 -.
A function's ephemeral storage settings.
The amount of ephemeral storage that your function has access to.