Awsflow Lambda
Manage AWS Lambda functions, event source mappings, aliases, versions, and layers.
When to Use This Skill
Use this skill when the user:
- •Asks about Lambda functions or serverless
- •Wants to invoke a Lambda function
- •Needs to update function code
- •Wants to inspect function configuration, concurrency, or URLs
- •Asks about event source mappings (SQS, SNS, DynamoDB, Kinesis triggers)
- •Needs to manage aliases, versions, or layers
- •Wants to tag or untag Lambda resources
Tool: LambdaTool
Execute AWS Lambda commands including event source mappings. ALWAYS provide params object.
Commands
ListFunctions
List Lambda functions.
{ "command": "ListFunctions", "params": { "MaxItems": 50 } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionVersion | string | No | Set to ALL to include all versions |
| Marker | string | No | Pagination marker from previous response |
| MaxItems | number | No | Maximum number of functions to return |
| MasterRegion | string | No | For Lambda@Edge, the region of the master function |
GetFunction
Get function details including code location.
{ "command": "GetFunction", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
| Qualifier | string | No | Function version or alias |
GetFunctionConfiguration
Get function configuration (runtime, handler, memory, timeout, environment, role, etc.).
{ "command": "GetFunctionConfiguration", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
| Qualifier | string | No | Function version or alias |
GetFunctionConcurrency
Get reserved concurrency settings.
{ "command": "GetFunctionConcurrency", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
GetFunctionCodeSigningConfig
Get code signing configuration.
{ "command": "GetFunctionCodeSigningConfig", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
GetFunctionUrlConfig
Get function URL configuration.
{ "command": "GetFunctionUrlConfig", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
GetPolicy
Get the resource-based policy attached to a function.
{ "command": "GetPolicy", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
GetAccountSettings
Get Lambda account-level settings and limits.
{ "command": "GetAccountSettings", "params": {} }
Parameters: None required.
Invoke
Invoke a Lambda function.
{ "command": "Invoke", "params": { "FunctionName": "my-function", "Payload": "{\"key\":\"value\"}", "InvocationType": "RequestResponse", "LogType": "Tail" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
| Payload | string | No | JSON string payload to pass to function |
| InvocationType | string | No | Event (async), RequestResponse (sync), DryRun (validate) |
| LogType | string | No | None or Tail (include execution log in response) |
| Qualifier | string | No | Function version or alias |
| ClientContext | string | No | Base64-encoded client context data |
UpdateFunctionCode
Update a function's deployment package.
{ "command": "UpdateFunctionCode", "params": { "FunctionName": "my-function", "S3Bucket": "code-bucket", "S3Key": "code.zip", "Publish": true } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
| ZipFile | string | No | Base64-encoded zip file containing function code |
| S3Bucket | string | No | S3 bucket containing the function code |
| S3Key | string | No | S3 object key for the function code |
| S3ObjectVersion | string | No | S3 object version |
| ImageUri | string | No | URI of a container image in Amazon ECR |
| Publish | boolean | No | Publish a new version after updating |
| DryRun | boolean | No | Validate without updating |
| RevisionId | string | No | Update only if revision ID matches |
| Architectures | array of strings | No | Instruction set: x86_64 or arm64 |
ListAliases
List aliases for a function.
{ "command": "ListAliases", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
GetAlias
Get details of a specific alias.
{ "command": "GetAlias", "params": { "FunctionName": "my-function", "Name": "prod" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
| Name | string | Yes | Alias name |
ListVersionsByFunction
List published versions of a function.
{ "command": "ListVersionsByFunction", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | Yes | Function name or ARN |
ListEventSourceMappings
List event source mappings for a function.
{ "command": "ListEventSourceMappings", "params": { "FunctionName": "my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| FunctionName | string | No | Function name or ARN |
| EventSourceArn | string | No | ARN of event source (SQS, DynamoDB, Kinesis, etc.) |
GetEventSourceMapping
Get details of an event source mapping.
{ "command": "GetEventSourceMapping", "params": { "UUID": "12345678-1234-1234-1234-123456789012" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| UUID | string | Yes | Event source mapping UUID |
ListLayerVersions
List versions for a Lambda layer.
{ "command": "ListLayerVersions", "params": { "LayerName": "my-layer" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| LayerName | string | Yes | Layer name |
| CompatibleRuntime | string | No | Filter by compatible runtime |
| CompatibleArchitecture | string | No | Filter by compatible architecture |
ListFunctionsByCodeSigningConfig
List functions using a code signing configuration.
{ "command": "ListFunctionsByCodeSigningConfig", "params": { "CodeSigningConfigArn": "arn:..." } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| CodeSigningConfigArn | string | Yes | Code signing config ARN |
ListTags
List tags for a Lambda resource.
{ "command": "ListTags", "params": { "Resource": "arn:aws:lambda:us-east-1:123456789012:function:my-function" } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | Yes | Function ARN |
TagResource
Add tags to a Lambda resource.
{ "command": "TagResource", "params": { "Resource": "arn:aws:lambda:...", "Tags": { "env": "prod" } } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | Yes | Function ARN |
| Tags | object | Yes | Key-value pairs for tags |
UntagResource
Remove tags from a Lambda resource.
{ "command": "UntagResource", "params": { "Resource": "arn:aws:lambda:...", "TagKeys": ["env"] } }
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | Yes | Function ARN |
| TagKeys | array of strings | Yes | Tag keys to remove |
Related Services
- •Lambda → CloudWatch Logs: Every Lambda function writes logs to
/aws/lambda/{functionName}. UseCloudWatchLogToolwithDescribeLogGroupsprefix/aws/lambda/to find them - •Lambda → SQS/SNS/DynamoDB/Kinesis: Use
ListEventSourceMappingsto discover trigger sources. Then useSQSTool,SNSTool,DynamoDBToolto inspect those sources - •Lambda → API Gateway: API Gateway integrations invoke Lambda. Use
APIGatewayToolGetIntegrationto find Lambda targets - •Lambda → IAM: Use
GetFunctionConfigurationto find the execution role ARN, thenIAMToolGetRoleandListAttachedRolePoliciesto inspect permissions - •Lambda → S3: Functions often read/write S3. Use
S3Toolto inspect referenced buckets - •Lambda → Step Functions: Lambda is commonly used as Step Functions task states
- •Lambda → CloudFormation: Serverless functions managed by CloudFormation/SAM — use
CloudFormationToolDescribeStackResources