Amazon Sumerian provides tools to connect your scene with the cloud. The AWS tooling in Sumerian uses Amazon Cognito to provide credentials to your scene’s users. You use AWS CloudFormation to create and manage other AWS resources in a central and controlled way.
In this tutorial, you’ll learn how to create an AWS CloudFormation stack that has an Amazon Cognito Federated Identity pool that contains permissions for using functionality in your scene. You’ll enter the identifiers for the new Amazon Cognito identity pool to your scene configuration so that the scene will be ready for you to continue with one of the other AWS tutorials.
Before you begin, be sure you are signed in to your AWS account
Watch a the video tutorial to learn more.
Step 1: Select a Template
In the following table, find the tutorial you are completing, and then choose Launch Stack.
|Tutorial||Create Stack Link|
|AWS IoT Thing Shadow and Script Actions|
|Using Host, Speech (Amazon Polly), & Dialogue Components (Amazon Lex)|
Step 2: Create the CloudFormation Stack
After following a Launch Stack link, you’re prompted with an AWS CloudFormation Create Stack window.
- If you want to use a different name for the stack, change the name here.
- At the top of the page, change the region to one that is closest to where your customers will be, if necessary.
- Check the box that states I acknowledge that AWS CloudFormation might create IAM resources. The role that is created is used by your users to access tutorial resources.
- Choose Create to start creating the AWS CloudFormation stack.
Step 3: Gather collected AWS resource IDs
After creating the stack, the Stack Detail page appears. It can take a few minutes for the stack to be created and the status to change to CREATE_COMPLETE.
Now, open the Outputs section and note the Identifiers in the Value column. These are used in the Amazon Sumerian tutorial you are following.
Step 4: Configure the Amazon Cognito Identity Pool in Your Sumerian Scene
Now that the stack is created, you can configure the created AWS resources in your Sumerian scene.
- In the Entities panel, select the root, or scene, entity (in this case, IoT + Script Action Tutorial) to see the AWS Configuration component.
Enter your Cognito Identity Pool ID.
Return to Your Tutorial
You have now created an AWS CloudFormation stack that contains an Amazon Cognito Federated Identity pool and other resources. You can use your browser’s back button to return to the AWS tutorial to complete additional steps in Amazon Sumerian.
Related Tasks and Tutorials
You should now have a much better understanding of the AWS configuration component. To learn more, check out the following tutorial: