Editing an IAM role for AWS Chatbot
You can create new IAM roles in the AWS Chatbot console, which provides a convenient way to deploy the AWS Chatbot service. You associate these roles with your chat channels or Amazon Chime webhooks. The AWS Chatbot console does not allow editing of IAM roles, including any roles that you've already created in the AWS Chatbot console.
Note
AWS requires that you use the IAM console to edit IAM roles. If you create roles in the AWS Chatbot console, you must use the IAM console to edit them. This might happen, for example, when you are using the AWS Chatbot service and a new release comes out that supports new features.
Use the IAM console to edit AWS Chatbot roles. You can use the entire set of IAM console features to specify permissions for your AWS Chatbot users.
To edit roles
-
Open the AWS Chatbot console at https://console.aws.amazon.com/chatbot/
. -
Choose the configured client, and choose the name of the configured channel or webhook.
-
Choose a role to edit:
-
Choose the name of the policy that you want. You can use the Search box to search for the policy by name or by a partial string of characters. For example, all IAM policies associated with AWS Chatbot include the character string Chatbot as part of the policy name. If you want your users to be able to use Amazon Q, attach the AmazonQFullAccess policy.
-
You can attach any of three AWS managed policies to any role. You can use these policies as templates to create your own policies.
-
ReadOnlyAccess
-
CloudWatchReadOnlyAccess
-
AWSSupportAccess
The ReadOnlyAccess policy is automatically attached to any role that you create in the AWS Chatbot console.
The AWSSupportAccess policy is the only AWS managed policy that appears in the AWS Chatbot console when you configure new roles there.
You can use these policies to create your own policies that are less permissive and specify the resources their users can access. You can substitute these custom policies for the ones listed here.
-
-
Choose each of the policies that you want to attach to the role and choose Attach policy. If needed, use the Search box to locate the policies you're looking for.
After you click Attach policy, the role's Permissions page opens and shows the change in the Permissions list.
Note
For more information about the customer managed policies and AWS managed policies described in this section, see IAM Policies for AWS Chatbot.
For more information about editing IAM policies, see Editing IAM Policies. Exercise caution at all times when editing policies, and avoid overwriting existing customer managed policies.