Skip to content

Ensure automatic cluster snapshots are enabled


When automatic cluster snapshots are enabled, ElastiCache creates a snapshot of the cluster on a daily basis.


Automatic cluster snapshots can help guard against data loss. In the event of a failure, you can create a new cluster, restoring your data from the most recent backup. The result is a warm-started cluster, preloaded with your data and ready for use.

Applies To

  • Databases


This rule is applied when the following tags are present:

Tag With Value
secureclouddb/provider aws
secureclouddb/service elasticache

Default Rule

 * @param {Object} databaseSettings - database settings object
 * @returns {boolean} true if snapshotRetentionLimit value is greater that 0
function validate(databaseSettings) {

    const success =
        databaseSettings.awsDatabaseInstance &&
        databaseSettings.awsDatabaseInstance.elasticacheCluster &&
        databaseSettings.awsDatabaseInstance.elasticacheCluster.snapshotRetentionLimit > 0

    return {

// invoke