github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/elasticache/AVD-AWS-0050/CloudFormation.md (about) 1 2 Configure snapshot retention for redis cluster 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Type: AWS::ElastiCache::CacheCluster 8 Properties: 9 AZMode: cross-az 10 CacheNodeType: cache.m3.medium 11 Engine: redis 12 NumCacheNodes: '3' 13 SnapshotRetentionLimit: 7 14 PreferredAvailabilityZones: 15 - us-west-2a 16 - us-west-2a 17 - us-west-2b 18 19 ``` 20 21