Amazon EC2 Auto Scaling Ec2 Auto Scaling Launch Configuration API
The Ec2 Auto Scaling Launch Configuration API from Amazon EC2 Auto Scaling — 3 operation(s) for ec2 auto scaling launch configuration.
The Ec2 Auto Scaling Launch Configuration API from Amazon EC2 Auto Scaling — 3 operation(s) for ec2 auto scaling launch configuration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-ec2-auto-scaling:amazon-ec2-auto-scaling-launch-configuration-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Auto Scaling Launch Configuration API
version: '2011-01-01'
description: Generated from AWS's published Smithy model for Auto Scaling. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://autoscaling.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/?Action=CreateLaunchConfiguration:
post:
operationId: CreateLaunchConfiguration
summary: Create Launch Configuration
description: Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails.
To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for
Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. For more information, see Launch configurations
in the Amazon EC2 Auto Scaling User Guide. Amazon EC2 Auto Scaling configures instances launched as part of an Auto
Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use
launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information
about using launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
'400':
description: AlreadyExistsFault; LimitExceededFault
content:
text/xml:
schema:
$ref: '#/components/schemas/AlreadyExistsFault'
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: CreateLaunchConfiguration
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/CreateLaunchConfigurationType'
example:
LaunchConfigurationName: my-launch-config
ImageId: ami-12345678
SecurityGroups:
- sg-eb2af88e
InstanceType: m3.medium
IamInstanceProfile: my-iam-role
tags:
- Launch Configuration
/?Action=DeleteLaunchConfiguration:
post:
operationId: DeleteLaunchConfiguration
summary: Delete Launch Configuration
description: Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling
group. When this call completes, the launch configuration is no longer available for use.
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
'400':
description: ResourceInUseFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceInUseFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DeleteLaunchConfiguration
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/LaunchConfigurationNameType'
example:
LaunchConfigurationName: my-launch-config
tags:
- Launch Configuration
/?Action=DescribeLaunchConfigurations:
post:
operationId: DescribeLaunchConfigurations
summary: Describe Launch Configurations
description: Gets information about the launch configurations in the account and Region.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/LaunchConfigurationsType'
example:
LaunchConfigurations:
- EbsOptimized: false
LaunchConfigurationARN: arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config
InstanceMonitoring:
Enabled: true
ImageId: ami-043a5034
CreatedTime: '2014-05-07T17:39:28.599Z'
BlockDeviceMappings: []
SecurityGroups:
- sg-67ef0308
LaunchConfigurationName: my-launch-config
InstanceType: t1.micro
AssociatePublicIpAddress: true
'400':
description: InvalidNextToken
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidNextToken'
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeLaunchConfigurations
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/LaunchConfigurationNamesType'
example:
LaunchConfigurationNames:
- my-launch-config
tags:
- Launch Configuration
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: autoscaling
schemas:
AlreadyExistsFault:
type: object
properties:
message:
type: string
BlockDeviceMapping:
type: object
properties:
VirtualName:
type: string
description: The name of the instance store volume (virtual device) to attach to an instance at launch. The name
must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.
DeviceName:
type: string
description: 'The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see
Device naming on Linux instances in the Amazon EC2 User Guide. To define a block device mapping, set the device
name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.'
Ebs:
$ref: '#/components/schemas/Ebs'
NoDevice:
type: boolean
description: Setting this value to true prevents a volume that is included in the block device mapping of the AMI
from being mapped to the specified device name at launch. If NoDevice is true for the root device, instances might
fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
required:
- DeviceName
CreateLaunchConfigurationType:
type: object
properties:
LaunchConfigurationName:
type: string
description: The name of the launch configuration. This name must be unique per Region per account.
ImageId:
type: string
description: The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information,
see Find a Linux AMI in the Amazon EC2 User Guide. If you specify InstanceId, an ImageId is not required.
KeyName:
type: string
description: The name of the key pair. For more information, see Amazon EC2 key pairs and Amazon EC2 instances in
the Amazon EC2 User Guide.
SecurityGroups:
type: array
items:
type: string
description: A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For
more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon
Virtual Private Cloud User Guide.
ClassicLinkVPCId:
type: string
description: Available for backward compatibility.
ClassicLinkVPCSecurityGroups:
type: array
items:
type: string
description: Available for backward compatibility.
UserData:
type: string
description: The user data to make available to the launched EC2 instances. For more information, see Instance metadata
and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding
is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.
User data is limited to 16 KB.
InstanceId:
type: string
description: The ID of the instance to use to create the launch configuration. The new launch configuration derives
attributes from the instance, except for the block device mapping. To create a launch configuration with a block
device mapping or override any other instance attributes, specify them as part of the same request. For more information,
see Create a launch configuration in the Amazon EC2 Auto Scaling User Guide.
InstanceType:
type: string
description: Specifies the instance type of the EC2 instance. For information about available instance types, see
Available instance types in the Amazon EC2 User Guide. If you specify InstanceId, an InstanceType is not required.
KernelId:
type: string
description: The ID of the kernel associated with the AMI. We recommend that you use PV-GRUB instead of kernels
and RAM disks. For more information, see User provided kernels in the Amazon EC2 User Guide.
RamdiskId:
type: string
description: The ID of the RAM disk to select. We recommend that you use PV-GRUB instead of kernels and RAM disks.
For more information, see User provided kernels in the Amazon EC2 User Guide.
BlockDeviceMappings:
type: array
items:
$ref: '#/components/schemas/BlockDeviceMapping'
description: The block device mapping entries that define the block devices to attach to the instances at launch.
By default, the block devices specified in the block device mapping for the AMI are used. For more information,
see Block device mappings in the Amazon EC2 User Guide.
InstanceMonitoring:
$ref: '#/components/schemas/InstanceMonitoring'
SpotPrice:
type: string
description: 'The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances
are launched when the price you specify exceeds the current Spot price. For more information, see Request Spot
Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide. Valid Range:
Minimum value of 0.001 When you change your maximum price by creating a new launch configuration, running instances
will continue to run as long as the maximum price for those running instances is higher than the current Spot
price.'
IamInstanceProfile:
type: string
description: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for
the instance. The instance profile contains the IAM role. For more information, see IAM role for applications
that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
EbsOptimized:
type: boolean
description: Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization
provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance.
This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization
for an instance type that is not EBS-optimized by default. For more information, see Amazon EBS-optimized instances
in the Amazon EC2 User Guide. The default value is false.
AssociatePublicIpAddress:
type: boolean
description: 'Specifies whether to assign a public IPv4 address to the group''s instances. If the instance is launched
into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign
a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not
to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.
If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information,
see Provide network connectivity for your '
PlacementTenancy:
type: string
description: 'The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs
on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a
shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value
of this property to dedicated. If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier
when you create your group. Valid values: default | dedicated'
MetadataOptions:
$ref: '#/components/schemas/InstanceMetadataOptions'
required:
- LaunchConfigurationName
Ebs:
type: object
properties:
SnapshotId:
type: string
description: The snapshot ID of the volume to use. You must specify either a VolumeSize or a SnapshotId.
VolumeSize:
type: integer
description: 'The volume size, in GiBs. The following are the supported volumes sizes for each volume type: gp2
and gp3: 1-16,384 io1: 4-16,384 st1 and sc1: 125-16,384 standard: 1-1,024 You must specify either a SnapshotId
or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than
the size of the snapshot.'
VolumeType:
type: string
description: 'The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide. Valid
values: standard | io1 | gp2 | st1 | sc1 | gp3'
DeleteOnTermination:
type: boolean
description: Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default
value is true.
Iops:
type: integer
description: 'The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3
and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this
represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for
bursting. The following are the supported values for each volume type: gp3: 3,000-16,000 IOPS io1: 100-64,000
IOPS For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Amazon Web Services Nitro System.
Other instance families guarantee performance up to 32,0'
Encrypted:
type: boolean
description: Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances
that support Amazon EBS encryption. For more information, see Requirements for Amazon EBS encryption in the Amazon
EBS User Guide. If your AMI uses encrypted volumes, you can also only launch it on supported instance types. If
you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot.
Also, you cannot specify a KMS key ID when using a launch configuration. If you enable encryption by default,
the EBS volumes that you create are always enc
Throughput:
type: integer
description: The throughput (MiBps) to provision for a gp3 volume.
InstanceMetadataOptions:
type: object
properties:
HttpTokens:
type: string
enum:
- optional
- required
description: The state of token usage for your instance metadata requests. If the parameter is not specified in
the request, the default state is optional. If the state is optional, you can choose to retrieve instance metadata
with or without a signed token header on your request. If you retrieve the IAM role credentials without a token,
the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token,
the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with
any instance metadata retrieval requests. I
HttpPutResponseHopLimit:
type: integer
description: 'The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the
further instance metadata requests can travel. Default: 1'
HttpEndpoint:
type: string
enum:
- disabled
- enabled
description: This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is
not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access
your instance metadata.
InstanceMonitoring:
type: object
properties:
Enabled:
type: boolean
description: If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
InvalidNextToken:
type: object
properties:
message:
type: string
LaunchConfiguration:
type: object
properties:
LaunchConfigurationName:
type: string
description: The name of the launch configuration.
LaunchConfigurationARN:
type: string
description: The Amazon Resource Name (ARN) of the launch configuration.
ImageId:
type: string
description: The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information,
see Find a Linux AMI in the Amazon EC2 User Guide.
KeyName:
type: string
description: The name of the key pair. For more information, see Amazon EC2 key pairs and Amazon EC2 instances in
the Amazon EC2 User Guide.
SecurityGroups:
type: array
items:
type: string
description: A list that contains the security groups to assign to the instances in the Auto Scaling group. For
more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon
Virtual Private Cloud User Guide.
ClassicLinkVPCId:
type: string
description: Available for backward compatibility.
ClassicLinkVPCSecurityGroups:
type: array
items:
type: string
description: Available for backward compatibility.
UserData:
type: string
description: The user data to make available to the launched EC2 instances. For more information, see Instance metadata
and user data in the Amazon EC2 User Guide. If you are using a command line tool, base64-encoding is performed
for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is
limited to 16 KB.
InstanceType:
type: string
description: The instance type for the instances. For information about available instance types, see Available
instance types in the Amazon EC2 User Guide.
KernelId:
type: string
description: The ID of the kernel associated with the AMI.
RamdiskId:
type: string
description: The ID of the RAM disk associated with the AMI.
BlockDeviceMappings:
type: array
items:
$ref: '#/components/schemas/BlockDeviceMapping'
description: The block device mapping entries that define the block devices to attach to the instances at launch.
By default, the block devices specified in the block device mapping for the AMI are used. For more information,
see Block device mappings in the Amazon EC2 User Guide.
InstanceMonitoring:
$ref: '#/components/schemas/InstanceMonitoring'
SpotPrice:
type: string
description: The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances
are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot
Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide.
IamInstanceProfile:
type: string
description: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for
the instance. The instance profile contains the IAM role. For more information, see IAM role for applications
that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
CreatedTime:
type: string
format: date-time
description: The creation date and time for the launch configuration.
EbsOptimized:
type: boolean
description: Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more
information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide.
AssociatePublicIpAddress:
type: boolean
description: Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched
into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign
a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not
to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.
For more information, see Provide network connectivity for your Auto Scaling instances using Amazon VPC in the
Amazon EC2 Auto Scaling User Guide.
PlacementTenancy:
type: string
description: The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on
isolated, single-tenant hardware and can only be launched into a VPC.
MetadataOptions:
$ref: '#/components/schemas/InstanceMetadataOptions'
required:
- LaunchConfigurationName
- ImageId
- InstanceType
- CreatedTime
LaunchConfigurationNameType:
type: object
properties:
LaunchConfigurationName:
type: string
description: The name of the launch configuration.
required:
- LaunchConfigurationName
LaunchConfigurationNamesType:
type: object
properties:
LaunchConfigurationNames:
type: array
items:
type: string
description: 'The launch configuration names. If you omit this property, all launch configurations are described.
Array Members: Maximum number of 50 items.'
NextToken:
type: string
description: The token for the next set of items to return. (You received this token from a previous call.)
MaxRecords:
type: integer
description: The maximum number of items to return with this call. The default value is 50 and the maximum value
is 100.
LaunchConfigurationsType:
type: object
properties:
LaunchConfigurations:
type: array
items:
$ref: '#/components/schemas/LaunchConfiguration'
description: The launch configurations.
NextToken:
type: string
description: A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken value when requesting the next set of items.
This value is null when there are no more items to return.
required:
- LaunchConfigurations
ResourceContentionFault:
type: object
properties:
message:
type: string
ResourceInUseFault:
type: object
properties:
message:
type: string
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/auto-scaling/service/2011-01-01/auto-scaling-2011-01-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)