Skip to main content

The official CLI tool for Amazon Web Services.

# To configure the AWS Command Line:
aws configure wizard

# To configure the AWS Command Line using SSO:
aws configure sso

# To see help text for the AWS command:
aws <command> help

# To get the caller identity (used to troubleshoot permissions):
aws sts get-caller-identity

# To list AWS resources in a region and output in yaml:
aws dynamodb list-tables --region <us-east-1> --output yaml

# To use auto prompt to help with a command:
aws iam create-user --cli-auto-prompt

# To get an interactive wizard for an AWS resource:
aws dynamodb wizard <new-table>

# To generate a JSON CLI Skeleton (useful for infrastructure as code):
aws dynamodb update-table --generate-cli-skeleton