Delete Launch Template
ec2_delete_launch_template | R Documentation |
Deletes a launch template¶
Description¶
Deletes a launch template. Deleting a launch template deletes all of its versions.
Usage¶
Arguments¶
DryRun
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
.LaunchTemplateId
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
LaunchTemplateName
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
Value¶
A list with the following syntax:
list(
LaunchTemplate = list(
LaunchTemplateId = "string",
LaunchTemplateName = "string",
CreateTime = as.POSIXct(
"2015-01-01"
),
CreatedBy = "string",
DefaultVersionNumber = 123,
LatestVersionNumber = 123,
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
Request syntax¶
svc$delete_launch_template(
DryRun = TRUE|FALSE,
LaunchTemplateId = "string",
LaunchTemplateName = "string"
)