Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions.
ec2_describe_launch_template_versions(DryRun, LaunchTemplateId,
LaunchTemplateName, Versions, MinVersion, MaxVersion, NextToken,
MaxResults, Filters)
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 is UnauthorizedOperation
.
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
One or more versions of the launch template.
The version number after which to describe launch template versions.
The version number up to which to describe launch template versions.
The token to request the next page of results.
The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. This value can be between 1 and 200.
One or more filters.
create-time
- The time the launch template version was created.
ebs-optimized
- A boolean that indicates whether the instance is
optimized for Amazon EBS I/O.
iam-instance-profile
- The ARN of the IAM instance profile.
image-id
- The ID of the AMI.
instance-type
- The instance type.
is-default-version
- A boolean that indicates whether the launch
template version is the default version.
kernel-id
- The kernel ID.
ram-disk-id
- The RAM disk ID.
svc$describe_launch_template_versions( DryRun = TRUE|FALSE, LaunchTemplateId = "string", LaunchTemplateName = "string", Versions = list( "string" ), MinVersion = "string", MaxVersion = "string", NextToken = "string", MaxResults = 123, Filters = list( list( Name = "string", Values = list( "string" ) ) ) )
# NOT RUN {
# This example describes the versions for the specified launch template.
# }
# NOT RUN {
svc$describe_launch_template_versions(
LaunchTemplateId = "068f72b72934aff71"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab