find_unused_lambda_functions
Identify AWS Lambda functions with no invocations over a specified period to optimize costs by removing unused resources.
Instructions
Find Lambda functions with no invocations in the specified period.
Args:
region_name: AWS region name
period: Lookback period in days (default: 90)
max_results: Maximum results to return (default: 100)
profile_name: AWS profile name (optional)
role_arn: IAM role ARN to assume (optional)
access_key: AWS access key ID (optional)
secret_access_key: AWS secret access key (optional)
session_token: AWS session token for temporary credentials (optional)
Returns:
Dictionary with unused Lambda functions
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_name | No | us-east-1 | |
| period | No | ||
| max_results | No | ||
| profile_name | No | ||
| role_arn | No | ||
| access_key | No | ||
| secret_access_key | No | ||
| session_token | No |