Podcast
Questions and Answers
Which AWS service allows you to run your code without provisioning or managing servers?
Which AWS service allows you to run your code without provisioning or managing servers?
Which type of workflows in AWS Step Functions support Run a Job and Wait for Callback integration patterns?
Which type of workflows in AWS Step Functions support Run a Job and Wait for Callback integration patterns?
What is one of the key benefits of using AWS Lambda functions?
What is one of the key benefits of using AWS Lambda functions?
Which service can be used in conjunction with AWS Lambda functions to implement different execution patterns and support various integration patterns?
Which service can be used in conjunction with AWS Lambda functions to implement different execution patterns and support various integration patterns?
Signup and view all the answers
What integration patterns do Express Workflows in AWS Step Functions NOT support?
What integration patterns do Express Workflows in AWS Step Functions NOT support?
Signup and view all the answers
What is the key feature of AWS Lambda?
What is the key feature of AWS Lambda?
Signup and view all the answers
Which type of workflow in AWS Step Functions has at-least-once execution?
Which type of workflow in AWS Step Functions has at-least-once execution?
Signup and view all the answers
Why are Standard Workflows in AWS Step Functions ideal for long-running processes?
Why are Standard Workflows in AWS Step Functions ideal for long-running processes?
Signup and view all the answers
What is the maximum runtime for Express Workflows in AWS Step Functions?
What is the maximum runtime for Express Workflows in AWS Step Functions?
Signup and view all the answers
How many API actions can be accessed through AWS SDK integrations in AWS Step Functions?
How many API actions can be accessed through AWS SDK integrations in AWS Step Functions?
Signup and view all the answers
What is the primary purpose of integrating Lambda with AWS Step Functions?
What is the primary purpose of integrating Lambda with AWS Step Functions?
Signup and view all the answers
Study Notes
AWS Lambda Function
Amazon Web Services (AWS) Lambda is a serverless compute service that lets you run your code without provisioning or managing servers. It allows developers to easily create and deploy event-driven applications at scale. In this section, we will focus on AWS Lambda functions and their execution patterns.
Exactly-Once vs At-Least-Once Execution
There are two types of workflows available in AWS Step Functions: Standard Workflows and Express Workflows.
Standard Workflows
Standard workflows have exactly-once workflow execution and can run for up to one year. This means each step in a Standard workflow executes exactly once. These workflows are ideal for long-running, auditable workflows as they show execution history and visual debugging.
Express Workflows
Express workflows have at-least-once workflow execution and can run for up to five minutes. This means that one or more steps in an Express workflow can potentially run more than once, while each step executes at least once. These workflows are ideal for high-event-rate workloads.
Service Integrations
AWS Step Functions supports integrating with other AWS services, such as Lambda, through Task states. You can call any AWS service or API from your state machine using the AWS SDK integrations or Optimized integrations. The AWS SDK integrations let you call any of the over two hundred AWS services directly from your state machine, giving you access to over nine thousand API actions. Optimized integrations are customized to simplify usage in your state machines.
Service Integration Patterns
Standard Workflows and Express Workflows support different integration patterns. Standard Workflows support Run a Job (.sync) and Wait for Callback (.waitForTaskToken), while Express Workflows do not support these integration patterns. For more information on the differences between Standard and Express workflows, see the AWS documentation.
In summary, AWS Lambda functions are part of the AWS serverless compute service that allows you to run your code without provisioning or managing servers. They can be used in conjunction with other AWS services through the AWS Step Functions service, which offers two types of workflows that have different execution patterns and support various integration patterns.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Learn about AWS Lambda functions and AWS Step Functions, including the differences between exactly-once and at-least-once execution patterns, service integrations with other AWS services, and integration patterns for Standard Workflows and Express Workflows.