Amazon EC2 Auto Scaling
API Reference (API Version 2011-01-01)


Describes one or more launch configurations.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The launch configuration names. If you omit this parameter, all launch configurations are described.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 1600.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: No


The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Type: Integer

Required: No


The token for the next set of items to return. (You received this token from a previous call.)

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: No

Response Elements

The following elements are returned by the service.


The launch configurations.

Type: Array of LaunchConfiguration objects


The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


For information about the errors that are common to all actions, see Common Errors.


The NextToken value is not valid.

HTTP Status Code: 400


You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).

HTTP Status Code: 500


Sample Request &LaunchConfigurationNames.member.1=my-lc &Version=2011-01-01 &AUTHPARAMS

Sample Response

<DescribeLaunchConfigurationsResponse xmlns=""> <DescribeLaunchConfigurationsResult> <LaunchConfigurations> <member> <KernelId /> <EbsOptimized>false</EbsOptimized> <RamdiskId /> <UserData /> <ImageId>ami-12345678</ImageId> <BlockDeviceMappings /> <ClassicLinkVPCSecurityGroups /> <InstanceType>t2.micro</InstanceType> <KeyName /> <LaunchConfigurationARN>arn:aws:autoscaling:us-east-1:123456789012:launchConfiguration:12345678-1234-1234-1234-123456789012:launchConfigurationName/my-lc</LaunchConfigurationARN> <LaunchConfigurationName>my-lc</LaunchConfigurationName> <CreatedTime>2015-01-21T23:04:42.200Z</CreatedTime> <SecurityGroups> <member>sg-12345678</member> </SecurityGroups> <InstanceMonitoring> <Enabled>true</Enabled> </InstanceMonitoring> </member> </LaunchConfigurations> </DescribeLaunchConfigurationsResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeLaunchConfigurationsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: