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

     1  
     2  Root and user volume encryption should be enabled
     3  
     4  ```yaml---
     5  Resources:
     6    GoodExample:
     7      Type: AWS::WorkSpaces::Workspace
     8      Properties:
     9        RootVolumeEncryptionEnabled: true
    10        UserVolumeEncryptionEnabled: true
    11        UserName: "admin"
    12  
    13  ```
    14  ```yaml{
    15  		    "Resources": {
    16  		      "GoodExample": {
    17  		        "Type": "AWS::WorkSpaces::Workspace",
    18  		        "Properties": {
    19  		          "RootVolumeEncryptionEnabled": true,
    20  		          "UserVolumeEncryptionEnabled": true,
    21  		          "UserName": "admin"
    22  		  	  }
    23  		  	}
    24  		    }
    25  		  }
    26  ```
    27  
    28