aws-serverless

ساخت اپ serverless تولیدی روی AWS با Lambda، API Gateway و DynamoDB

این اسکیل اپ serverless تولیدی می‌سازد: Lambda، API Gateway، DynamoDB، الگوهای رویدادمحور SQS/SNS، استقرار SAM/CDK و بهینه‌سازی cold start.

چه چیزی می‌گیرید

  • Lambda و API Gateway
  • رویدادمحور SQS/SNS
  • cold start

برای چه کاری خوب است

  • API serverless
  • پردازش رویداد

برای چه کاری نیست

  • سرورهای پایدار

دربارهٔ این اسکیل

AWS Serverless

Specialized skill for building production-ready serverless applications on AWS.
Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns,
SAM/CDK deployment, and cold start optimization.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Scope and validation

Before deployment confirm account/region, IAM scope, resource changes, data retention and budget. Review the synthesized template/change set and verify in a scoped development environment. Bundled material is documentation only; helper handlers and deployment files shown in snippets are not present or runtime-tested here. Secrets need approved managed storage and least-privilege roles; do not paste credentials into logs.

Monitor memory usage

exports.handler = async (event, context) => {
  const used = process.memoryUsage();
  console.log('Memory:', {
    heapUsed: Math.round(used.heapUsed / 1024 / 1024) + 'MB',
    heapTotal: Math.round(used.heapTotal / 1024 / 1024) + 'MB'
  });
  // ...
};

When to Use

Use this skill when the request clearly matches the capabilities and patterns described above.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

دانلود ZIP