Skip to content

dynamodb list-tables

list dynamodb tables

Description

List dynamodb tables

Synopsis

dynamodb list-tables
    [--site <site>]
    [--region <region>]
    [--prefix <prefix>]
    [<limit>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

region - (string)

     AWS region for the service
     Example: --region "region-1"
     Default: _None_      Attributes: optional

prefix - (string)

     The prefix for name of the table
     Example: --prefix "prefix-1"
     Default: _None_      Attributes: optional

limit - (string)

     Maximum number of matching results to return
     Example: "limit-1"
     Default: _None_      Attributes: optional

Examples

Input:

x=! dynamodb list-tables
Output:
{
  "tables": ["testtable1"]
}

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "dynamodb"
Service Instance
Namespace
Object Type "table"
Object ID

Please see Access Control for details.