github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/ec2/AVD-AWS-0008/CloudFormation.md (about)

     1  
     2  Turn on encryption for all block devices
     3  
     4  ```yaml---
     5  Resources:
     6    GoodExample:
     7      Properties:
     8        BlockDeviceMappings:
     9          - DeviceName: root
    10            Ebs:
    11              Encrypted: true
    12        ImageId: ami-123456
    13        InstanceType: t2.small
    14      Type: AWS::AutoScaling::LaunchConfiguration
    15  
    16  ```
    17  
    18