Table: aws_backup_vaults

This table shows data for Backup Vaults.

https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupVaultListMember.html (opens in a new tab)

The primary key for this table is arn.

Relations

The following tables depend on aws_backup_vaults:

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_idutf8
regionutf8
arn (PK)utf8
access_policyjson
notificationsjson
tagsjson
backup_vault_arnutf8
backup_vault_nameutf8
creation_datetimestamp[us, tz=UTC]
creator_request_idutf8
encryption_key_arnutf8
lock_datetimestamp[us, tz=UTC]
lockedbool
max_retention_daysint64
min_retention_daysint64
number_of_recovery_pointsint64

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Vaults with no recovery points

WITH
  "point" AS (SELECT DISTINCT vault_arn FROM aws_backup_vault_recovery_points)
SELECT
  'Vaults with no recovery points' AS title,
  vault.account_id,
  vault.arn AS resource_id,
  'fail' AS status
FROM
  aws_backup_vaults AS vault LEFT JOIN "point" ON "point".vault_arn = vault.arn
WHERE
  "point".vault_arn IS NULL;