lambda_configure_iam
Generate a least-privilege IAM role and policy for a Lambda function. Provide the function name and required AWS services to get a scoped-down access policy.
Instructions
Generate least-privilege IAM role and policy for a Lambda function
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"function_name": "<function_name>",
"services": "<services>"
},
"name": "lambda_configure_iam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| services | Yes | AWS services the function needs access to (e.g. s3, dynamodb, sqs) | |
| function_name | Yes | Lambda function name |