AWS Lambda chaining best practice

半世苍凉 提交于 2019-12-06 03:45:19

You can use AWS Step Function to manage coordination between AWS lambda functions.

Really B & C are apis that A is calling

Put lambda B & C behind another api gateway, using IAM auth. Give A rights to call that Api via your IAM Role.

  • Now Your external clients call A via whatever auth scheme.
  • A is free to call B or C via api (url as parameter perhaps)
  • A can return results to caller

For a more granular approach, you can have B/C as their own api gateways, meaning your have decoupled them fully

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!