LinuxCommandLibrary

aws

aws

TLDR

Configure the AWS Command-line

$ aws configure wizard
copy


Configure the AWS Command-line using SSO
$ aws configure sso
copy


See help text for the AWS command
$ aws [command] help
copy


Get the caller identity (used to troubleshoot permissions)
$ aws sts get-caller-identity
copy


List AWS resources in a region and output in YAML
$ aws dynamodb list-tables --region [us-east-1] --output yaml
copy


Use auto prompt to help with a command
$ aws iam create-user --cli-auto-prompt
copy


Get an interactive wizard for an AWS resource
$ aws dynamodb wizard [new_table]
copy


Generate a JSON CLI Skeleton (useful for infrastructure as code)
$ aws dynamodb update-table --generate-cli-skeleton
copy

Copied to clipboard