DevOps v1.0.0

watadot-aws-lambda

Serverless compute orchestration by Watadot Studio. Manage functions, triggers, and cloud rendering.

ordiy 更新于 2026-03-16 1 浏览
下载 SKILL

技能说明

Serverless compute orchestration by Watadot Studio. Manage functions, triggers, and cloud rendering.

使用场景

Architectural patterns for serverless execution and orchestration.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/watadot-aws-lambda
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 22 kB
SKILL.md text/markdown
---
name: watadot-aws-lambda
description: Serverless compute orchestration by Watadot Studio. Manage functions, triggers, and cloud rendering.
metadata:
  openclaw:
    emoji: λ
    requires:
      anyBins: [aws]
---

# AWS Lambda Skills

Architectural patterns for serverless execution and orchestration.

## 🚀 Core Commands

### Function Lifecycle
```bash
# List all functions with runtime and memory info
aws lambda list-functions --query "Functions[].{Name:FunctionName,Runtime:Runtime,Memory:MemorySize}" --output table

# Invoke a function synchronously with payload
aws lambda invoke --function-name <name> --payload '{"key": "value"}' --cli-binary-format raw-in-base64-out response.json
```

### Deployment & Configuration
```bash
# Update function code via ZIP
aws lambda update-function-code --function-name <name> --zip-file fileb://function.zip

# Update environment variables
aws lambda update-function-configuration --function-name <name> --environment "Variables={KEY=VALUE,ENV=PROD}"
```

### Performance & Scaling
```bash
# Check concurrency limits and usage
aws lambda get-account-settings --query "AccountLimit"

# Put provisioned concurrency (warm start optimization)
aws lambda put-provisioned-concurrency-config --function-name <name> --qualifier <alias> --provisioned-concurrent-executions 5
```

## 🧠 Best Practices
1. **Layer Management**: Offload heavy dependencies (like FFmpeg or Chromium) into Lambda Layers to keep deployment packages small.
2. **Timeout Strategy**: Set aggressive timeouts to prevent runaway costs from stuck executions.
3. **IAM Execution Role**: Ensure the role has *exactly* the permissions needed for S3/DynamoDB access—no more.
4. **Monitoring**: Use CloudWatch Insights to trace latencies and cold starts.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。