Database resources should not publicly available. You should limit all access to the minimum that is required for your application to function.
The database instance is publicly accessible
Set the database to not be publicly accessible
The following example will fail the aws-rds-no-public-db-access check.
The following example will pass the aws-rds-no-public-db-access check.