Skip to main content

Lambda

Experimental
Creates:
Assets

Configure in the UI

This plugin can be configured directly in the Marmot UI with a step-by-step wizard.

View Guide

The Lambda plugin discovers and catalogs AWS Lambda functions across your AWS accounts. It captures function metadata including runtime, memory, timeout, VPC configuration, layers, tracing, and tags.

Required Permissions

Example Configuration


credentials:
region: "us-east-1"
profile: "production"
role: "<role>"
tags:
- "aws"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
credentialsAWSCredentialsfalseAWS credentials configuration
external_links[]ExternalLinkfalseExternal links to show on all assets
filterFilterfalseFilter discovered assets by name (regex)
include_tags[]stringfalseList of AWS tags to include as metadata. By default, all tags are included.
tagsTagsConfigfalseTags to apply to discovered assets
tags_to_metadataboolfalseConvert AWS tags to Marmot metadata

Available Metadata

The following metadata fields are available:

FieldTypeDescription
architecturesstringInstruction set architectures (x86_64, arm64)
code_sha256stringSHA256 hash of the deployment package
code_sizeint64The size of the function's deployment package in bytes
descriptionstringThe function's description
environment_variable_countintNumber of environment variables configured
ephemeral_storage_mbint32Ephemeral storage allocated in MB
function_arnstringThe ARN of the Lambda function
handlerstringThe function's entry point handler
last_modifiedstringDate and time the function was last modified
last_update_statusstringStatus of the last update (Successful, Failed, InProgress)
layer_countintNumber of Lambda layers attached
layersstringLambda layer ARNs attached to the function
memory_size_mbint32Memory allocated to the function in MB
package_typestringDeployment package type (Zip or Image)
rolestringThe IAM execution role ARN
runtimestringThe runtime environment for the function (e.g. go1.x, python3.12, nodejs20.x)
security_group_countintNumber of VPC security groups
statestringCurrent state of the function (Active, Pending, Inactive, Failed)
subnet_countintNumber of VPC subnets
tagsmap[string]stringAWS resource tags
timeout_secondsint32Function execution timeout in seconds
tracing_modestringX-Ray tracing mode (Active or PassThrough)
versionstringThe function version
vpc_idstringVPC ID if the function is connected to a VPC