Class: LaunchConfiguration

AutoScaling.LaunchConfiguration

new LaunchConfiguration()

Properties:
Name Type Description
AssociatePublicIpAddress Boolean Required: No. For Amazon EC2 instances in a VPC, indicates whether instances in the Auto Scaling group receive public IP addresses. If you specify true, each instance in the Auto Scaling receives a unique public IP address.NoteIf this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. For more information, see DependsOn Attribute.Update requires: Replacement
BlockDeviceMappings AWSCloudFormationAutoScalingBlockDeviceMappingPropertyType Required: No. Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.Update requires: Replacement
ClassicLinkVPCId String Required: No. The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. You can specify this property only for EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.Update requires: Replacement
ClassicLinkVPCSecurityGroups String Required: Conditional. The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property.Update requires: Replacement
EbsOptimized Boolean Required: Conditional. Specifies whether the launch configuration is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance.Additional fees are incurred when using EBS-optimized instances. For more information about fees and supported instance types, see EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Replacement
IamInstanceProfile String Required: No. 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.Update requires: Replacement
ImageId String Required: Yes. Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.Update requires: Replacement
InstanceId String Required: No. The ID of the Amazon EC2 instance you want to use to create the launch configuration. Use this property if you want the launch configuration to use settings from an existing Amazon EC2 instance.When you use an instance to create a launch configuration, all properties are derived from the instance with the exception of BlockDeviceMapping and AssociatePublicIpAddress. You can override any properties from the instance by specifying them in the launch configuration.Update requires: Replacement
InstanceMonitoring Boolean Required: No. Indicates whether detailed instance monitoring is enabled for the Auto Scaling group. By default, this property is set to true (enabled).When detailed monitoring is enabled, Amazon CloudWatch (CloudWatch) generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Monitor Your Auto Scaling Instances in the Auto Scaling Developer Guide.Update requires: Replacement
InstanceType String Required: Yes. Specifies the instance type of the EC2 instance.Update requires: Replacement
KernelId String Required: No. Provides the ID of the kernel associated with the EC2 AMI.Update requires: Replacement
KeyName String Required: No. Provides the name of the EC2 key pair.Update requires: Replacement
PlacementTenancy String Required: No. The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched in a VPC. You must set the value of this parameter to dedicated if want to launch dedicated instances in a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default). For more information, see CreateLaunchConfiguration in the Auto Scaling API Reference.If you specify this property, you must specify at least one subnet in the VPCZoneIdentifier property of the AWS::AutoScaling::AutoScalingGroup resource.Update requires: Replacement
RamDiskId String Required: No. The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.Update requires: Replacement
SecurityGroups String Required: No. A list that contains the EC2 security groups to assign to the Amazon EC2 instances in the Auto Scaling group. The list can contain the name of existing EC2 security groups or references to AWS::EC2::SecurityGroup resources created in the template. If your instances are launched within VPC, specify Amazon VPC security group IDs.Update requires: Replacement
SpotPrice String Required: No. The spot price for this autoscaling group. If a spot price is set, then the autoscaling group will launch when the current spot price is less than the amount specified in the template.When you have specified a spot price for an auto scaling group, the group will only launch when the spot price has been met, regardless of the setting in the autoscaling group's DesiredCapacity.For more information about configuring a spot price for an autoscaling group, see Using Auto Scaling to Launch Spot Instances in the AutoScaling Developer Guide.Update requires: ReplacementNoteWhen you change your bid price by creating a new launch configuration, running instances will continue to run as long as the bid price for those running instances is higher than the current Spot price.
UserData String Required: No. The user data available to the launched EC2 instances.Update requires: Replacement
Source:

Extends

  • WKResource

AutoScaling.LaunchConfiguration

new LaunchConfiguration()

Properties:
Name Type Description
AssociatePublicIpAddress Boolean Required: No. For Amazon EC2 instances in a VPC, indicates whether instances in the Auto Scaling group receive public IP addresses. If you specify true, each instance in the Auto Scaling receives a unique public IP address.NoteIf this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. For more information, see DependsOn Attribute.Update requires: Replacement
BlockDeviceMappings AWSCloudFormationAutoScalingBlockDeviceMappingPropertyType Required: No. Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.Update requires: Replacement
ClassicLinkVPCId String Required: No. The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. You can specify this property only for EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.Update requires: Replacement
ClassicLinkVPCSecurityGroups String Required: Conditional. The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property.Update requires: Replacement
EbsOptimized Boolean Required: Conditional. Specifies whether the launch configuration is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance.Additional fees are incurred when using EBS-optimized instances. For more information about fees and supported instance types, see EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Replacement
IamInstanceProfile String Required: No. 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.Update requires: Replacement
ImageId String Required: Yes. Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.Update requires: Replacement
InstanceId String Required: No. The ID of the Amazon EC2 instance you want to use to create the launch configuration. Use this property if you want the launch configuration to use settings from an existing Amazon EC2 instance.When you use an instance to create a launch configuration, all properties are derived from the instance with the exception of BlockDeviceMapping and AssociatePublicIpAddress. You can override any properties from the instance by specifying them in the launch configuration.Update requires: Replacement
InstanceMonitoring Boolean Required: No. Indicates whether detailed instance monitoring is enabled for the Auto Scaling group. By default, this property is set to true (enabled).When detailed monitoring is enabled, Amazon CloudWatch (CloudWatch) generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Monitor Your Auto Scaling Instances in the Auto Scaling Developer Guide.Update requires: Replacement
InstanceType String Required: Yes. Specifies the instance type of the EC2 instance.Update requires: Replacement
KernelId String Required: No. Provides the ID of the kernel associated with the EC2 AMI.Update requires: Replacement
KeyName String Required: No. Provides the name of the EC2 key pair.Update requires: Replacement
PlacementTenancy String Required: No. The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched in a VPC. You must set the value of this parameter to dedicated if want to launch dedicated instances in a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default). For more information, see CreateLaunchConfiguration in the Auto Scaling API Reference.If you specify this property, you must specify at least one subnet in the VPCZoneIdentifier property of the AWS::AutoScaling::AutoScalingGroup resource.Update requires: Replacement
RamDiskId String Required: No. The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.Update requires: Replacement
SecurityGroups String Required: No. A list that contains the EC2 security groups to assign to the Amazon EC2 instances in the Auto Scaling group. The list can contain the name of existing EC2 security groups or references to AWS::EC2::SecurityGroup resources created in the template. If your instances are launched within VPC, specify Amazon VPC security group IDs.Update requires: Replacement
SpotPrice String Required: No. The spot price for this autoscaling group. If a spot price is set, then the autoscaling group will launch when the current spot price is less than the amount specified in the template.When you have specified a spot price for an auto scaling group, the group will only launch when the spot price has been met, regardless of the setting in the autoscaling group's DesiredCapacity.For more information about configuring a spot price for an autoscaling group, see Using Auto Scaling to Launch Spot Instances in the AutoScaling Developer Guide.Update requires: ReplacementNoteWhen you change your bid price by creating a new launch configuration, running instances will continue to run as long as the bid price for those running instances is higher than the current Spot price.
UserData String Required: No. The user data available to the launched EC2 instances.Update requires: Replacement
Source:

Extends

  • WKResource