1 Answer
- Newest
- Most votes
- Most comments
0
https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
Have a quick read over that doc.
If you create the DynamoDB client using the default credentials chain, you'll end up using GameLift's instance profile credentials, which won't have any permissions to any services in your account. If you're using GameLift Server SDK 4.0 or lower, you can assume the InstanceRoleArn you provided in CreateFleet directly in code. If you're using Server SDK 5.0 or higher, you'll need to call GetFleetRoleCredentials and use the returned credentials (your InstanceRoleArn) when creating and making calls to the DynamoDB client. If the permissions on your provided Role are correct, that should do the trick!
answered 2 months ago
Relevant content
- asked 3 years ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago