github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/elasticache/AVD-AWS-0051/CloudFormation.md (about) 1 2 Enable in transit encryption for replication group 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Type: 'AWS::ElastiCache::ReplicationGroup' 8 Properties: 9 AutomaticFailoverEnabled: true 10 CacheNodeType: cache.r3.large 11 CacheSubnetGroupName: !Ref CacheSubnetGroup 12 Engine: redis 13 EngineVersion: '3.2' 14 NumNodeGroups: '2' 15 ReplicasPerNodeGroup: '3' 16 Port: 6379 17 PreferredMaintenanceWindow: 'sun:05:00-sun:09:00' 18 ReplicationGroupDescription: A sample replication group 19 SecurityGroupIds: 20 - !Ref ReplicationGroupSG 21 SnapshotRetentionLimit: 5 22 SnapshotWindow: '10:00-12:00' 23 TransitEncryptionEnabled: true 24 25 ``` 26 27