turbot/aws_insights

Query: rds_db_instance_deletion_protection_status

Usage

powerpipe query aws_insights.query.rds_db_instance_deletion_protection_status

Steampipe Tables

SQL

with db_instances as (
select
case
when deletion_protection then 'enabled'
else 'disabled'
end as visibility
from
aws_rds_db_instance
)
select
visibility,
count(*)
from
db_instances
group by
visibility;

Dashboards

The query is used in the dashboards: