AWS Fundamentals Logo
AWS Fundamentals
AWS::AutoScaling::LaunchConfiguration

AutoScaling LaunchConfiguration

The AWS::AutoScaling::LaunchConfiguration resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.

Properties

19 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ImageId
string
RequiredCreate-only
InstanceType
string
RequiredCreate-only
AssociatePublicIpAddress
boolean
Create-only
BlockDeviceMappings
Array<BlockDeviceMapping>
Create-only
ClassicLinkVPCId
string
Create-only
ClassicLinkVPCSecurityGroups
Array<string>
Create-only
EbsOptimized
boolean
Create-only
IamInstanceProfile
string
Create-only
InstanceId
string
Create-onlyWrite-only
InstanceMonitoring
boolean
Create-only
KernelId
string
Create-only
KeyName
string
Create-only
LaunchConfigurationName
string
Create-only
MetadataOptions
MetadataOptions
Create-only
PlacementTenancy
string
Create-only
RamDiskId
string
Create-only
SecurityGroups
Array<Any | Any>
Create-only
SpotPrice
string
Create-only
UserData
string
Create-only

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AutoScaling::LaunchConfiguration

Resources:
  MyResource:
    Type: AWS::AutoScaling::LaunchConfiguration
    Properties:
      ImageId: "my-imageid"
      InstanceType: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

autoscaling:DescribeLaunchConfigurations

create

autoscaling:CreateLaunchConfigurationautoscaling:DescribeLaunchConfigurationsiam:PassRole

list

autoscaling:DescribeLaunchConfigurations

delete

autoscaling:DeleteLaunchConfigurationautoscaling:DescribeLaunchConfigurations

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceAutoScaling
Properties19
Required2
TaggingNot supported
Primary IDLaunchConfigurationName

Supported Operations

ReadCreateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

AssociatePublicIpAddressBlockDeviceMappingsClassicLinkVPCIdClassicLinkVPCSecurityGroupsEbsOptimizedIamInstanceProfileImageIdInstanceIdInstanceMonitoringInstanceTypeKernelIdKeyNameLaunchConfigurationNameMetadataOptionsPlacementTenancyRamDiskIdSecurityGroupsSpotPriceUserData

External Links