github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/elasticsearch/AVD-AWS-0043/CloudFormation.md (about) 1 2 Enable encrypted node to node communication 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Type: AWS::Elasticsearch::Domain 8 Properties: 9 DomainName: 'test' 10 ElasticsearchVersion: '7.10' 11 EncryptionAtRestOptions: 12 Enabled: true 13 KmsKeyId: alias/kmskey 14 ElasticsearchClusterConfig: 15 DedicatedMasterEnabled: true 16 InstanceCount: '2' 17 ZoneAwarenessEnabled: true 18 InstanceType: 'm3.medium.elasticsearch' 19 DedicatedMasterType: 'm3.medium.elasticsearch' 20 DedicatedMasterCount: '3' 21 EBSOptions: 22 EBSEnabled: true 23 Iops: '0' 24 VolumeSize: '20' 25 VolumeType: 'gp2' 26 NodeToNodeEncryptionOptions: 27 Enabled: true 28 29 ``` 30 31