Sha256: db59f50ceab8aba2461d82c3c4bfab66442697bdf3ce020adf56ae0faff84ec1
Contents?: true
Size: 701 Bytes
Versions: 97
Compression:
Stored size: 701 Bytes
Contents
module Awspec::Type class LaunchConfiguration < ResourceBase def resource_via_client @resource_via_client ||= find_launch_configuration(@display_name) end def id @id ||= resource_via_client.launch_configuration_arn if resource_via_client end def has_security_group?(sg_id) sgs = resource_via_client.security_groups ret = sgs.find do |sg| sg == sg_id end return true if ret sg2 = find_security_group(sg_id) sgs.find do |sg| sg == sg2.group_id end end def has_block_device_mapping?(device_id) ret = find_block_device_mapping(@display_name, device_id) return true if ret end end end
Version data entries
97 entries across 97 versions & 4 rubygems