Updates the image, system disk, and other settings in an ECS launch template.
Description
Updates a launch template.
Syntax
Action: ACS::ECS::UpdateLaunchTemplate
Properties:
regionId: String
imageId: String
launchTemplateName: String
deleteSourceTemplateVersion: Boolean
systemDiskSize: String
systemDiskPerformanceLevel: String
systemDiskDeleteWithInstance: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
imageId |
The new image ID for the launch template. |
String |
Yes |
||
|
launchTemplateName |
The name of the launch template. |
String |
Yes |
||
|
deleteSourceTemplateVersion |
Whether to delete the original launch template version. |
Boolean |
No |
True |
|
|
systemDiskSize |
The system disk size for the launch template. |
String |
No |
"" |
|
|
systemDiskPerformanceLevel |
The performance level of the system disk. |
String |
No |
"" |
|
|
systemDiskDeleteWithInstance |
Whether to release the system disk when the instance is released. |
String |
No |
"" |
Output
|
Output item |
Description |
Type |
|
defaultVersionNumber |
String |
References
For more information, see ACS::ECS::UpdateLaunchTemplate at GitHub.