Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)
I am working with CloudFormation and I am a bit confused between serverless Function and Lambda function, like when to use aws::serverless::function and when to go with aws::lambda::function

1 Answer

0 votes
by (12.4k points)
edited by

If we see, there is no conceptual difference between serverless and lambda functions.

AWS::Lambda::Function is the syntax of Cloudformation to define AWS Lambda function whereas AWS::Serverless::Function is AWS SAM syntax which creates lambda function internally in CloudFormation.

In the initial stage of Lambda, there were some problems with developing serverless applications because of the complexity of writing CloudFormation for API gateway and Lambda. So later AWS came up with AWS SAM to overcome complexity in defining CloudFormatiom and also an alternative to Serverless Framework.

Want to be an AWS expert? Come and join AWS Course

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
1 answer

Browse Categories

...