2025-03-14 21:59:59 -06:00
|
|
|
# aws
|
|
|
|
|
|
|
|
|
|
> The official CLI tool for Amazon Web Services.
|
|
|
|
|
> Some subcommands such as `s3` have their own usage documentation.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.aws.amazon.com/cli/latest/reference/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Configure the AWS Command-line:
|
|
|
|
|
|
|
|
|
|
`aws configure wizard`
|
|
|
|
|
|
|
|
|
|
- Configure the AWS Command-line using SSO:
|
|
|
|
|
|
|
|
|
|
`aws configure sso`
|
|
|
|
|
|
|
|
|
|
- Get the caller identity (used to troubleshoot permissions):
|
|
|
|
|
|
|
|
|
|
`aws sts get-caller-identity`
|
|
|
|
|
|
|
|
|
|
- List AWS resources in a region and output in YAML:
|
|
|
|
|
|
|
|
|
|
`aws dynamodb list-tables --region {{us-east-1}} --output yaml`
|
|
|
|
|
|
|
|
|
|
- Use auto prompt to help with a command:
|
|
|
|
|
|
|
|
|
|
`aws iam create-user --cli-auto-prompt`
|
|
|
|
|
|
|
|
|
|
- Get an interactive wizard for an AWS resource:
|
|
|
|
|
|
|
|
|
|
`aws dynamodb wizard {{new_table}}`
|
|
|
|
|
|
|
|
|
|
- Generate a JSON CLI Skeleton (useful for infrastructure as code):
|
|
|
|
|
|
|
|
|
|
`aws dynamodb update-table --generate-cli-skeleton`
|
|
|
|
|
|
|
|
|
|
- Display help for a specific command:
|
|
|
|
|
|
|
|
|
|
`aws {{command}} help`
|