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년 전213회 조회
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠