Creating an AWS Support case using AWS Chatbot
The AWS Support Command Permissions policy appears in the AWS Chatbot console when you configure resources. It's provided in the AWS Chatbot console so that you can set up new roles for users in your chat client to create AWS support tickets through their chat channels.
You can quickly create a new AWS support case by entering the following:
@aws support create-case
Follow the prompts from AWS Chatbot to fill out the support case with its needed parameters. When you complete the case information entry, AWS Chatbot asks for confirmation. You will not be able to use file attachments.
Note
AWS Chatbot requires UpperCamelCase
for the --query
parameter. In UpperCamelCase
, the first letter of every word is capitalized.
For any AWS Chatbot role that creates AWS Support cases, you need to attach the AWS Support command permissions policy to the role. For existing roles, you will need to attach the policy in the IAM console.
In the IAM console, this policy appears as AWSSupportAccess.
It is an AWS managed policy. Attach this policy in IAM to any role for AWS Chatbot usage. You can define your own policy with greater restrictions, using this policy as a template.
The Support Command Permissions policy applies only to the AWS Support service.
The policy's JSON code is shown following:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "support:*" ], "Resource": "*" } ] }