LaunchTemplateSpecification
The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.
Contents
- LaunchTemplateId
-
The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.Type: String
Required: No
- LaunchTemplateName
-
The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.Type: String
Required: No
- Version
-
The launch template version number,
$Latest
, or$Default
.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.Default: The default version of the launch template.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: