- Newest
- Most votes
- Most comments
Hi Naotoy,
You are correct. The "Player" role is granted to anyone who has obtained a valid id from our Cognito User Pool. The Cognito User Pool supports anonymous authentication. When your game is built with the Cloud Gem Framework enabled the game will obtain an anonymous Cognito id on startup.
To enabled an authentication flow in your game you could enable our Cloud Gem Player Account gem.
Does that help clear things up?
Happy New Year!
TonyP
Yup, it does but does! Is there any predesignated role that verifies that a user is logged into a non-anonymous & verified Cognito id (i.e. "PlayerLoginRole"). Lol, maybe I'm trying to get around an API auth too much but if it's implemented, I would love to use it!
edit: I also noticed my project doesn't have a deployment-access-template.json file, is this normal?
Hi @REDACTEDUSER
That definitely clears things up for me with the RoleAccess! Thanks!
So for the deployment-access-template.json, can we disregard the files listed under 'Administration' in the Resource Manager now as they all return blank (since no such files exist in the project folder)? Instead, do we work in the Gems\CloudGemFramework\v1\ResourceManager\resource_manager\templates if we would like to edit any Role related behavior?
Hi @REDACTEDUSER
A separate "AuthenticatedPlayer" access role is on our near term to do list which on our current schedule would put it in the 1.15 release.
Regarding the deployment-access-template.json file that is normal - this file used to live at tools/lmbr_aws/AWSResourceManager/default-project-content and get copied into the project folder but now lives at Gems\CloudGemFramework\v1\ResourceManager\resource_manager\templates and is not copied. Did you run into some documentation describing the old system?
@CC_Brian Thanks for your replies! That definitely helps clear it up enough to lead me in the direction I wanted
Hi @naotoy,
So you can think of the files living under CloudGemFramework as the "defaults" and then we created a series of "extension" files which can live in your GameProject\AWS\ folder that can further customize/add to/restrict your resources which will appear under the Administration tab. In general you should be able to make changes here rather than editing the defaults directly since that could make integrating new code drops a bit trickier, though that is an option if you'd like to go that route. There's some documentation at https://docs.aws.amazon.com/lumberyard/latest/developerguide/cloud-canvas-resource-definitions.html under "Template Extension Files" which describes working with these files.
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- Confused about permissions in IOT Core/PubSub/Shadows, Greengrass, IAM roles, service roles and IPC.Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- What's the difference between Lambda function execution role permissions and invocation permissions?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago