You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascriptv3/example_code/cross-services/transcribe-streaming-app/README.md
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,31 @@ For more information on the create-stack command parameters, see the [AWS CLI Co
76
76
77
77
### Create the resources using the AWS Management Console
78
78
79
-
####Create an unauthenticated user role 4. Open [AWS Cognito in the AWS Management Console](https://aws.amazon.com/cloudformation/), and open the _Stacks_ page. 5. Choose **Manage Identity Pools**. 6. Choose **Create new identity pool**. 7. In the **Identity pool name** field, give your identity pool a name. 7. Select the **Enable access to unauthenticated identities** checkbox. 8. Choose **Create Pool**. 9. Choose **Allow**. 10. Take note of the **Identity pool ID**, which is highlighted in red in the **Get AWS Credentials** section.
79
+
#### Create an unauthenticated user role
80
+
81
+
1. Open [AWS Cognito in the AWS Management Console](https://aws.amazon.com/cloudformation/), and open the _Stacks_ page.
82
+
2. Choose **Manage Identity Pools**.
83
+
3. Choose **Create new identity pool**.
84
+
4. In the **Identity pool name** field, give your identity pool a name.
85
+
5. Select the **Enable access to unauthenticated identities** checkbox.
86
+
6. Choose **Create Pool**.
87
+
7. Choose **Allow**.
88
+
8. Take note of the **Identity pool ID**, which is highlighted in red in the **Get AWS Credentials** section.
80
89
81
90

82
91
83
-
11.Choose **Edit identity pool**. 12. Take note of the name of the role in the **Unauthenticated role** field.
92
+
9. Choose **Edit identity pool**.
93
+
10. Take note of the name of the role in the **Unauthenticated role** field.
94
+
95
+
#### Adding permissions to an unauthenticated user role
84
96
85
-
####Adding permissions to an unauthenticated user role 13. Open [IAM in the AWS Management Console](https://aws.amazon.com/iam/), and open the _Roles_ page. 14. Search for the unauthenticated role you just created. 15. Open the role. 16. Click the down arrow beside the policy name. 17. Choose **Edit Policy**. 18. Choose the **JSON** tab. 18. Delete the existing content, and paste the code below into it.
97
+
11. Open [IAM in the AWS Management Console](https://aws.amazon.com/iam/), and open the _Roles_ page.
98
+
12. Search for the unauthenticated role you just created.
99
+
13. Open the role.
100
+
14. Click the down arrow beside the policy name.
101
+
15. Choose **Edit Policy**.
102
+
16. Choose the **JSON** tab.
103
+
17. Delete the existing content, and paste the code below into it.
86
104
87
105
```json
88
106
{
@@ -117,8 +135,8 @@ For more information on the create-stack command parameters, see the [AWS CLI Co
117
135
}
118
136
```
119
137
120
-
19. Choose **Review Policy**.
121
-
20. Choose **Save Changes**.
138
+
18. Choose **Review Policy**.
139
+
19. Choose **Save Changes**.
122
140
123
141
### Verify an email address on Amazon SES
124
142
@@ -184,10 +202,10 @@ This will create a local web-server that hosts the content in the public folder.
184
202
185
203
## Destroying the resources
186
204
187
-
4. Open [AWS CloudFormation in the AWS Management Console](https://aws.amazon.com/cloudformation/), and open the _Stacks_ page.
205
+
1. Open [AWS CloudFormation in the AWS Management Console](https://aws.amazon.com/cloudformation/), and open the _Stacks_ page.
188
206
189
207

190
208
191
-
5. Select the stack you created in [Create the resources](#create-the-resources) on this page.
209
+
2. Select the stack you created in [Create the resources](#create-the-resources) on this page.
0 commit comments