Skip to content

/AWS1/CL_EC2LAUNCHTEMPLATESPEC

Describes the launch template to use.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_LAUNCHTEMPLATEID TYPE /AWS1/EC2LAUNCHTEMPLATEID /AWS1/EC2LAUNCHTEMPLATEID

The ID of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

IV_LAUNCHTEMPLATENAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The name of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

IV_VERSION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The launch template version number, $Latest, or $Default.

A value of $Latest uses the latest version of the launch template.

A value of $Default uses the default version of the launch template.

Default: The default version of the launch template.


Queryable Attributes

LaunchTemplateId

The ID of the launch template.

You must specify either the launch template ID or the launch template name, 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 either the launch template ID or the launch template name, 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.

A value of $Latest uses the latest version of the launch template.

A value of $Default uses the default version of the launch template.

Default: 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