Invoke Lambda URL with Awscurl

Lambda URL was general available three days ago.
Although it’s possible to invoke Lambda URL without authorization, but I find the AWS_IAM auth type with cross-account feature suits my need better.

Belows is a paragraph about cross-account invoking, and its illustration

And the Invoking function URLs chapter did mention there’s many helpful tool to send request with signature, no manual signing!
Here is how to use awscurl to make cross-account request:

awscurl  -v -X POST https://foobarhelloworldlorem.lambda-url.ap-northeast-1.on.aws/ --service lambda --region ap-northeast-1

日期

作者

留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *