How to invoke a lambda function from a real time gamelift server

0

I have created a lambda function and a real time gamelift server. I want to invoke the lambda function using my real time gamelift server script. Is there any way to achieve that? Thank you.

質問済み 2年前204ビュー
1回答
1
承認された回答

You should be able to use the AWS SDK from your script to interact with other AWS services. For this you'd need to additionally set up an IAM role with appropriate permissions to interact with Lambda (or other AWS services) and assign this role to your fleet. Any game server running on this fleet can then assume the role and interact with required services.

For more information, please refer: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html

Thanks!

AWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ