turbot/aws_insights

Query: dynamodb_table_read_write_capacity

Usage

powerpipe query aws_insights.query.dynamodb_table_read_write_capacity

Steampipe Tables

SQL

select
case when read_capacity = 0 then 'On-demand' else read_capacity::text end as "Read Capacity",
case when write_capacity = 0 then 'On-demand' else write_capacity::text end as "Write Capacity"
from
aws_dynamodb_table
where
arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);

Dashboards

The query is used in the dashboards: