It seems like RDS instances with BackupRetentionPeriod property is not present or is set to 0. Ensure that RDS DB instances have backups enabled.
1Resources:
2 MyDB:
3 Type: AWS::RDS::DBInstance
4 Properties:
5 # NonCompliant: 'BackupRetentionPeriod' is equals to 0.
6 BackupRetentionPeriod : 0
7 DBName: MyDatabase
8 MultiAZ: true
9 StorageEncrypted: true
10 MonitoringInterval: 5
1Resources:
2 MyDB:
3 Type: AWS::RDS::DBInstance
4 Properties:
5 # Compliant: `BackupRetentionPeriod` is greater than 0.
6 BackupRetentionPeriod : 1
7 MultiAZ: true
8 StorageEncrypted: true
9 MonitoringInterval: 5