Skip to main content

aws.rds

Supported Platform

  • aws

Description

AWS RDS for operating and scaling relational dbs

The aws.rds resource can be used to assess the configuration of AWS RDS deployments. The resource returns lists of aws.rds.dbcluster, aws.rds.dbinstance, and aws.rds.snapshot resources, each with fields for assessing the configuration of those assets.

Fields

IDTYPEDESCRIPTION
dbInstances[]aws.rds.dbinstancelist of db instances
dbClusters[]aws.rds.dbclusterlist of rds db clusters

Examples

Checks whether RDS DB instances have backups enabled

aws.rds.dbInstances.all(snapshots.length > 0);

Checks whether high availability is enabled for all rds instances

aws.rds.dbInstances.all(multiAZ == true);

Return a list of RDS Clusters across all regions where snapshots are not encrypted and return the arn region and id for the cluster

aws.rds.dbClusters { snapshots.where( encrypted == false) } { arn region id }

References