AWS Security ChangesHomeSearch

AWS autoscaling: DescribeLaunchConfigurations example: add sample output and wording

Service: autoscaling · 2026-11-01 · Documentation low

File: autoscaling/ec2/userguide/example_auto-scaling_DescribeLaunchConfigurations_section.md

Summary

Reworded the describe-launch-configurations examples, replaced the sample LaunchConfigurationARN with a placeholder-style ARN, and added a full sample JSON output block (including MetadataOptions, block device mappings, and AssociatePublicIpAddress) plus a link to the launch configurations topic.

Security assessment

The change is example output formatting and prose; the added output incidentally shows IMDSv2 settings (HttpTokens required, HttpEndpoint disabled) and Encrypted:false, but it does not document or fix a security feature, vulnerability, or misconfiguration.

Evidence

+                    "HttpTokens": "required",

Diff

diff --git a/autoscaling/ec2/userguide/example_auto-scaling_DescribeLaunchConfigurations_section.md b/autoscaling/ec2/userguide/example_auto-scaling_DescribeLaunchConfigurations_section.md
index db3ce57..e97f9d4 100644
--- a//autoscaling/ec2/userguide/example_auto-scaling_DescribeLaunchConfigurations_section.md
+++ b//autoscaling/ec2/userguide/example_auto-scaling_DescribeLaunchConfigurations_section.md
@@ -19 +19 @@ CLI
-This example describes the specified launch configuration.
+The following `describe-launch-configurations` example describes the specified launch configuration.
@@ -33 +33 @@ Output:
-                "LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config",
+                "LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:launchConfigurationName/my-launch-config",
@@ -73 +73 @@ Output:
-To return a specific number of launch configurations, use the `--max-items` option.
+The following `describe-launch-configurations` example uses the `--max-items` option to return a specific number of launch configurations.
@@ -79,0 +80,46 @@ To return a specific number of launch configurations, use the `--max-items` opti
+Output:
+    
+    
+    {
+        "LaunchConfigurations": [
+            {
+                "LaunchConfigurationName": "my-launch-config",
+                "LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:launchConfigurationName/my-launch-config",
+                "ImageId": "ami-0528a5175983e7f28",
+                "KeyName": "my-key-pair-uswest2",
+                "SecurityGroups": [
+                    "sg-05eaec502fcdadc2e"
+                ],
+                "ClassicLinkVPCSecurityGroups": [],
+                "UserData": "",
+                "InstanceType": "t2.micro",
+                "KernelId": "",
+                "RamdiskId": "",
+                "BlockDeviceMappings": [
+                    {
+                        "DeviceName": "/dev/xvda",
+                        "Ebs": {
+                            "SnapshotId": "snap-06c1606ba5ca274b1",
+                            "VolumeSize": 8,
+                            "VolumeType": "gp2",
+                            "DeleteOnTermination": true,
+                            "Encrypted": false
+                        }
+                    }
+                ],
+                "InstanceMonitoring": {
+                    "Enabled": true
+                },
+                "CreatedTime": "2020-10-28T02:39:22.321Z",
+                "EbsOptimized": false,
+                "AssociatePublicIpAddress": true,
+                "MetadataOptions": {
+                    "HttpTokens": "required",
+                    "HttpPutResponseHopLimit": 1,
+                    "HttpEndpoint": "disabled"
+                }
+            }
+        ],
+        "NextToken": "Z3M3LMPEXAMPLE"
+    }
+
@@ -86,0 +133,2 @@ If the output includes a `NextToken` field, there are more launch configurations
+For more information, see [Auto Scaling launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) in the _Amazon EC2 Auto Scaling User Guide_.
+