<a name="input_function_name"></a> function_name | A unique name for your Lambda Function. | string | yes |
<a name="input_handler"></a> handler | The function entrypoint in your code. | string | yes |
<a name="input_output_path"></a> output_path | A path to which the source directory is archived before uploading to AWS. | string | yes |
<a name="input_runtime"></a> runtime | The identifier of the function's runtime. | string | yes |
<a name="input_source_dir"></a> source_dir | A path to the directory which contains source files. | string | yes |
<a name="input_allowed_services"></a> allowed_services | A list of AWS Services that are allowed to access this lambda. | list(string) | no |
<a name="input_build_command"></a> build_command | This is the build command to execute. It can be provided as a relative path to the current working directory or as an absolute path. It is evaluated in a shell, and can use environment variables or Terraform variables. | string | no |
<a name="input_build_triggers"></a> build_triggers | A map of values which should cause the build command to re-run. Values are meant to be interpolated references to variables or attributes of other resources. | map(string) | no |
<a name="input_dead_letter_config"></a> dead_letter_config | Nested block to configure the function's dead letter queue. | <pre>object({<br> target_arn = string<br> })</pre> | no |
<a name="input_description"></a> description | Description of what your Lambda Function does. | string | no |
<a name="input_environment"></a> environment | A map that defines environment variables for the Lambda function. | <pre>object({<br> variables = map(string)<br> })</pre> | no |
<a name="input_exclude_files"></a> exclude_files | A list of directories or folders to ignore, e.g.<br>exclude_files = ["test", "src/**/*.ts"] | list(string) | no |
<a name="input_iam_role_name_prefix"></a> iam_role_name_prefix | The prefix string for the name of IAM role for the lambda function. | string | no |
<a name="input_kms_key_id"></a> kms_key_id | The ARN of the KMS Key to use when encrypting log data. | string | no |
<a name="input_lambda_kms_key_arn"></a> lambda_kms_key_arn | The ARN of the KMS Key to use when encrypting environment variables. Ignored unless environment is specified. | string | no |
<a name="input_layers"></a> layers | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. | list(string) | no |
<a name="input_memory_size"></a> memory_size | Amount of memory in MB your Lambda Function can use at runtime. | number | no |
<a name="input_permissions_boundary"></a> permissions_boundary | ARN of the policy that is used to set the permissions boundary for the role. | string | no |
<a name="input_policy_arns"></a> policy_arns | A list of IAM policy ARNs attached to the lambda function. | list(string) | no |
<a name="input_publish"></a> publish | Whether to publish creation/change as new Lambda Function Version. | bool | no |
<a name="input_reserved_concurrent_executions"></a> reserved_concurrent_executions | The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | number | no |
<a name="input_retention_in_days"></a> retention_in_days | Specifies the number of days you want to retain log events in the specified log group. | number | no |
<a name="input_tags"></a> tags | A mapping of tags to assign to resources. | map(string) | no |
<a name="input_timeout"></a> timeout | The maximum number of seconds the lambda function to run until timeout. | number | no |
<a name="input_tracing_config"></a> tracing_config | Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision. | <pre>object({<br> mode = string<br> })</pre> | no |
<a name="input_vpc_config"></a> vpc_config | Provide this to allow your function to access your VPC. | <pre>object({<br> security_group_ids = list(string)<br> subnet_ids = list(string)<br> })</pre> | no |