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
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 |