Stage variable with lambda - Amazon API Gateway p18
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- Welcome to part 18 of the tutorial series on Amazon API Gateway. In this tutorial, I have covered how to invoke the lambda function or the lambda backend integration with respect to the stage variables. So, at a high level, how we can use the stage variables.
---
Support my work:
---
Patreon: / srcecde
PayPal: paypal.me/srcecde
Paytm | Gpay: 9023197426
---
Series Tutorial
---
Part 1: • Create API using AWS A...
Part 2: • Resources and Methods ...
Part 3: • Deploying and invoking...
Part 4: • How to validate reques...
Part 5: • How to validate reques...
Part 6: • How to upload binary f...
Part 7: • Configure path & query...
Part 8: • How to pass query para...
Part 9: • How to pass binary dat...
Part 10: • Pass binary data from ...
Part 11: • Download file using pr...
Part 12: • Upload file using pre-...
Part 13: • How to upload file wit...
Part 14: • How to create Usage Pl...
Part 15: • How to invoke API Endp...
Part 16: • How to enable CloudWat...
Part 17: • How to invoke lambda f...
Part 18: • Stage variable with la...
Part 19: • Stage variable with la...
Part 20: • Download file from lam...
Part 21: • SQS integration with A...
Part 22: • Video
Part 23: • Fetch message from SQS...
Part 24: • Delete message from SQ...
Part 25: • How to invoke API endp...
Part 26: • Upload file using HTML...
Part 27: • Invoke API endpoint us...
Part 28: • Canary release - Amazo...
Playlist: • Amazon API Gateway tut...
---
Another channel:
---
My Gaming Channel: / @gamepersonified782
---
Connect with me
---
Twitter: / srcecde
GitHub: github.com/src...
Facebook: / srcecde
Instagram: / srcecde
LinkedIn: / srcecde
Reddit: / srcecde
I forgot to thank for the diagram you used in this tutorial and it helps a lot to understand.
Perfect video with architecture diagram to make things more clear..!!!
Glad it helped! Please like, share & subscribe. :)
Very useful had to implement in my project and this came in handy 😊
Glad it is helpful! Please like, share & subscribe :)
This is excellent! I had no idea this was possible. I would like you to also do the example you mentioned with 1 lambda at the back end. For example, assume I have 2 dynamo tables: customerdev and customerprod. I want a single lambda that will open the correct table. I am guessing there is a way for it to do something like if mystage = dev then open customerdev else open customerprod ? Keep up the great work ! And stay safe and healthy please.
Thanks for stopping by Glenn Adams. I will certainly cover the same soon. Please stay tuned.
reference to this series i have a request to upload detailed videos on
1- Configuration of API gateway with Elastic beans talk and connect to RDS MySql.
2-Configuration of users click streams for sentiment analysis as per above with Kinesis Stream and showing dashboard.
3--Configuration of Cloud Front with APi Gate way and Cognito.
Thanks for stopping by hammadsaeedlodhi. Can you please convey the use-case you are trying to implement?
@@SrceCde a social media company needs to analyse on real time click streams to visualize users trends with lowest possible user experience. i decided local users will go through CloudFront--Cognito-API Gateway -Elastic beanstalk-rds and more over from API gateway to Kinesis streams -Kinesis fire hose-Kinesis Analytics and finaly store the data to S3 which later can be archived to Glacier. I want to configure the whole scenario . Thanks and best regards
excellent .Thanks.
Thanks a LOT !
Thanks for stopping by Rafael Gimenes. I am glad that you found the tutorial helpful. Please like, share & subscribe. :)
should we use this for storing secrets? it makes it easier to make one lambda instead of one per env
I think you should have created just one lambda and multiple aliases referring prod and dev
Thanks for stopping by thulsi ram. I have covered the same in part 19 of the same tutorial series. :)
Is there any way to create the stage environment variable using the OAS(Open API Spec) template ??
Can you use stage variable and lambda alias together? How?
So the stage variable is called dev or prod and the name of the lambda function is called dev or prod? Really?