/AWS1/CL_EC2=>MODIFYLAUNCHTEMPLATE()
¶
About ModifyLaunchTemplate¶
Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
IV_CLIENTTOKEN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
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/EC2LAUNCHTEMPLATENAME
/AWS1/EC2LAUNCHTEMPLATENAME
¶
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
IV_DEFAULTVERSION
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The version number of the launch template to set as the default version.