Skill 2.3.2
Developing AWS Lambda function automations for complex scenarios (for example, AWS SDKs, Lambda, AWS Step Functions)
Key Concepts
Lambda functions triggered by EventBridge, schedules, SNS or Config can call any AWS API through the SDK: tagging resources, stopping idle instances, rotating keys or cleaning up snapshots. They need idempotent logic, error handling and an execution role scoped to the required actions; long or multi-account tasks can assume roles in other accounts.
Step Functions orchestrates steps with retries, catch blocks, parallel and map states, waits and human approval (callback with task tokens). It calls over 200 services directly through SDK integrations, so many workflows need no Lambda code. Standard workflows run up to a year with exactly-once execution; Express workflows suit high-volume, short events.