class Awspec::Type::LaunchTemplate
Attributes
Public Instance Methods
Source
# File lib/awspec/type/launch_template.rb, line 17 def has_version_number?(version_number) launch_template_versions = find_launch_template_versions(@id) launch_template_versions.launch_template_versions.each do |launch_template_version| return true if launch_template_version.version_number.to_s == version_number.to_s end end
Source
# File lib/awspec/type/launch_template.rb, line 13 def id @id ||= resource_via_client.launch_template_id if resource_via_client end
Source
# File lib/awspec/type/launch_template.rb, line 9 def resource_via_client @resource_via_client ||= find_launch_template(@display_name) end