Create an IAM role for the Test Workbench
To create an IAM role for the Test Workbench
-
Follow the steps at Create an IAM user to create an IAM user which can be used to access test-workbench console.
-
Select the Create role button.
-
Select the option for Custom trust policy.
-
Enter the trust policy below and click Next.
-
Select the Create policy button.
-
A new tab will open in your browser where you can enter the below policy and click on Next: Tags button.
-
Enter a policy name, for example ‘LexTestWorkbenchPolicy’ and then click on the Create Policy.
-
Return to the previous tab in your browser and Refresh list of policies by clicking the Refresh button as shown below.
-
Search in list of policies by entering policy name that you used in the 6th step and choose the policy.
-
Select the Next button.
-
Enter role name and then click the Create Role button.
-
Choose your new IAM role when prompted in the Amazon Lex V2 console for Test Workbench.