2018-12-12 20:57:02 +00:00
|
|
|
# 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"`
|
|
|
|
|
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`
|