Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-autoscaling-launchconfiguration.json
Parent schema serverless-framework-configuration
Type: object

The AWS::AutoScaling::LaunchConfiguration resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-autoscaling.git

Properties

ImageId string | Aws_CF_FunctionString required

Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

InstanceType string | Aws_CF_FunctionString required

Specifies the instance type of the EC2 instance.

AssociatePublicIpAddress boolean

For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether to assign a public IP address to the group's instances.

BlockDeviceMappings BlockDeviceMapping[]

Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.

uniqueItems=true
ClassicLinkVPCId string | Aws_CF_FunctionString

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.

ClassicLinkVPCSecurityGroups string[]

The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property.

EbsOptimized boolean

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false).

IamInstanceProfile string | Aws_CF_FunctionString

Provides 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.

InstanceId string | Aws_CF_FunctionString

The ID of the Amazon EC2 instance you want to use to create the launch configuration.

InstanceMonitoring boolean

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

KernelId string | Aws_CF_FunctionString

Provides the ID of the kernel associated with the EC2 AMI.

KeyName string | Aws_CF_FunctionString

Provides the name of the EC2 key pair.

LaunchConfigurationName string | Aws_CF_FunctionString

The name of the launch configuration. This name must be unique per Region per account.

MetadataOptions object

MetadataOptions is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances.

3 nested properties
HttpPutResponseHopLimit integer

The desired HTTP PUT response hop limit for instance metadata requests.

HttpTokens string | Aws_CF_FunctionString

The state of token usage for your instance metadata requests.

HttpEndpoint string | Aws_CF_FunctionString

This parameter enables or disables the HTTP metadata endpoint on your instances.

PlacementTenancy string | Aws_CF_FunctionString

The tenancy of the instance, either default or dedicated.

RamDiskId string | Aws_CF_FunctionString

The ID of the RAM disk to select.

SecurityGroups string[]

A list that contains the security groups to assign to the instances in the Auto Scaling group.

SpotPrice string | Aws_CF_FunctionString

The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request.

UserData string | Aws_CF_FunctionString

The Base64-encoded user data to make available to the launched EC2 instances.

Definitions

MetadataOptions object

MetadataOptions is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances.

HttpPutResponseHopLimit integer

The desired HTTP PUT response hop limit for instance metadata requests.

HttpTokens string | Aws_CF_FunctionString

The state of token usage for your instance metadata requests.

HttpEndpoint string | Aws_CF_FunctionString

This parameter enables or disables the HTTP metadata endpoint on your instances.

BlockDeviceMapping object

BlockDeviceMapping is a property of AWS::AutoScaling::LaunchConfiguration that describes a block device mapping for an Auto Scaling group.

DeviceName string | Aws_CF_FunctionString required

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).

NoDevice boolean

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

VirtualName string | Aws_CF_FunctionString

The name of the virtual device.

Ebs object

BlockDevice is a subproperty of BlockDeviceMapping that describes an Amazon EBS volume.

7 nested properties
SnapshotId string | Aws_CF_FunctionString

The snapshot ID of the volume to use.

VolumeType string | Aws_CF_FunctionString

The volume type.

Encrypted boolean

Specifies whether the volume should be encrypted.

Iops integer

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

VolumeSize integer

The volume size, in GiBs.

DeleteOnTermination boolean

Indicates whether the volume is deleted on instance termination.

Throughput integer

The throughput (MiBps) to provision for a gp3 volume.

BlockDevice object

BlockDevice is a subproperty of BlockDeviceMapping that describes an Amazon EBS volume.

SnapshotId string | Aws_CF_FunctionString

The snapshot ID of the volume to use.

VolumeType string | Aws_CF_FunctionString

The volume type.

Encrypted boolean

Specifies whether the volume should be encrypted.

Iops integer

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

VolumeSize integer

The volume size, in GiBs.

DeleteOnTermination boolean

Indicates whether the volume is deleted on instance termination.

Throughput integer

The throughput (MiBps) to provision for a gp3 volume.