tldr/pages/common/aws.md
2018-12-19 10:28:32 +05:30

537 B

aws

The official CLI tool for Amazon Web Services.

  • List all IAM users:

aws iam list-users

  • List all EC2 instances from a specific region:

aws ec2 describe-instances --region {{us-east-1}}

  • Receive message from a specific SQS queue:

aws sqs receive-message --queue-url {{https://queue.amazonaws.com/546123/Test}}

  • Publish message to the specific SNS topic:

aws sns publish --topic-arn {{arn:aws:sns:us-east-1:54633:testTopic}} --message "Message"

  • To see help text for the AWS command:

aws {{command}} help