Forrest logo
back to the aws tool

aws:tldr:373e8

aws: List AWS resources in a region and output in YAML.
$ aws dynamodb list-tables --region ${us-east-1} --output yaml
try on your machine

This command is used to list all the tables in Amazon DynamoDB, which is a NoSQL database service provided by AWS (Amazon Web Services). Here is a breakdown of the command:

  • aws dynamodb refers to the AWS CLI (Command Line Interface) command for DynamoDB.
  • list-tables is the specific action being performed. It instructs AWS CLI to list all available tables in DynamoDB.
  • --region ${us-east-1} specifies the AWS region where DynamoDB is located. In this case, it is set to us-east-1, but you can replace it with your desired region code.
  • --output yaml sets the output format of the result to YAML (Yet Another Markup Language). This means the response will be formatted using YAML syntax, which is a human-readable structured format.

When you run this command, the output will be a YAML-formatted list of all the tables in DynamoDB within the specified region.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aws tool