/AWS1/CL_EC2FLEETLAUNCHTMPLS00¶
The Amazon EC2 launch template that can be used by an EC2 Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.
For information about launch templates, see Launch an instance from a launch template in the Amazon EC2 User Guide.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_LAUNCHTEMPLATEID
TYPE /AWS1/EC2LAUNCHTEMPLATEID
/AWS1/EC2LAUNCHTEMPLATEID
¶
The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.
IV_LAUNCHTEMPLATENAME
TYPE /AWS1/EC2LAUNCHTEMPLATENAME
/AWS1/EC2LAUNCHTEMPLATENAME
¶
The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
IV_VERSION
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.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.
Queryable Attributes¶
LaunchTemplateId¶
The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LAUNCHTEMPLATEID() |
Getter for LAUNCHTEMPLATEID, with configurable default |
ASK_LAUNCHTEMPLATEID() |
Getter for LAUNCHTEMPLATEID w/ exceptions if field has no va |
HAS_LAUNCHTEMPLATEID() |
Determine if LAUNCHTEMPLATEID has a value |
LaunchTemplateName¶
The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LAUNCHTEMPLATENAME() |
Getter for LAUNCHTEMPLATENAME, with configurable default |
ASK_LAUNCHTEMPLATENAME() |
Getter for LAUNCHTEMPLATENAME w/ exceptions if field has no |
HAS_LAUNCHTEMPLATENAME() |
Determine if LAUNCHTEMPLATENAME has a value |
Version¶
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VERSION() |
Getter for VERSION, with configurable default |
ASK_VERSION() |
Getter for VERSION w/ exceptions if field has no value |
HAS_VERSION() |
Determine if VERSION has a value |