github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/ec2/AVD-AWS-0026/CloudFormation.md (about) 1 2 Enable encryption of EBS volumes 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Type: AWS::EC2::Volume 8 Properties: 9 Size: 100 10 Encrypted: true 11 KmsKeyId: "alias/volumeEncrypt" 12 DeletionPolicy: Snapshot 13 14 ``` 15 16