github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/autoscaling/AVD-AWS-0008/CloudFormation.md (about) 1 2 Turn on encryption for all block devices 3 4 ```yaml 5 --- 6 AWSTemplateFormatVersion: "2010-09-09" 7 Description: A sample template 8 Resources: 9 GoodExample: 10 Properties: 11 BlockDeviceMappings: 12 - DeviceName: root 13 Ebs: 14 Encrypted: true 15 ImageId: ami-123456 16 InstanceType: t2.small 17 Type: AWS::AutoScaling::LaunchConfiguration 18 ```