Skip to content

Lambda, Step Functions

David Liu edited this page Sep 1, 2022 · 5 revisions

Lambda

Schedule Lambda

3 ways to schedule lambda

  • CloudWatch Event
  • new AWS EventBridge
  • AWS CloudFormation with AWS Serverless Application Model (SAM) templates

Use container image for lambda function

  • it only supports Amazon ECR image in your private repositories. Your public repositories or AWS ECR Public Gallery is not supported.
  • lambda is not designed for long running process, including listener. Start an http listener in lambda will always timeout. A workaround here

Step Functions

if you need a chain of sequential or parallel AWS Lambda functions, using AWS Step Functions to orchestrate them

QuickStart Execution role

  • StepFunctionsExecutionRoleWithCloudWatchLogsDeliveryFullAccessPolicy
  • StepFunctionsExecutionRoleWithXRayAccessPolicy

Limit

Reference

Clone this wiki locally