aws.rds
Supported platform
- aws
Description
Amazon Relational Database Service (RDS)
Use the aws.rds resource 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
| ID | TYPE | DESCRIPTION |
|---|---|---|
| instances | []aws.rds.dbinstance | List of database instances |
| clusters | []aws.rds.dbcluster | List of RDS database clusters |
| allPendingMaintenanceActions | []aws.rds.pendingMaintenanceAction | List of all pending maintenance actions for the database instance |
| parameterGroups | []aws.rds.parameterGroup | List of all parameter groups |
| clusterParameterGroups | []aws.rds.clusterParameterGroup | List of all cluster parameter groups |
Examples
Check whether RDS DB instances have backups enabled
aws.rds.instances.all(snapshots.length > 0)
Check whether high availability is enabled for all rds instances
aws.rds.instances.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.clusters { snapshots.where( encrypted == false) } { arn region id }
References