github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/ec2/AVD-AWS-0009/CloudFormation.md (about) 1 2 Set the instance to not be publicly accessible 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Properties: 8 ImageId: ami-123456 9 InstanceType: t2.small 10 Type: AWS::AutoScaling::LaunchConfiguration 11 12 ``` 13 14