tldr/pages/common/aws.md

25 lines
587 B
Markdown
Raw Normal View History

2018-12-12 20:57:02 +00:00
# aws
> The official CLI tool for Amazon Web Services.
2019-06-09 00:05:27 +01:00
> More information: <https://aws.amazon.com/cli>.
2018-12-12 20:57:02 +00:00
- 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"`
2018-12-18 22:43:10 +00:00
- To see help text for the AWS command:
2018-12-12 20:57:02 +00:00
2018-12-18 22:43:10 +00:00
`aws {{command}} help`