github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/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