LaunchTemplateSpecification
¶
Used by
Source code in docs_src/capo_auto_scaling/types/launch_template_specification.py
launch_template_id
instance-attribute
¶
launch_template_id: NotRequired[XmlStringMaxLen255]
The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.
launch_template_name
instance-attribute
¶
launch_template_name: NotRequired[LaunchTemplateName]
The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.
version
instance-attribute
¶
version: NotRequired[XmlStringMaxLen255]
The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.