class Awspec::Type::Vpc
Constants
- STATES
Public Instance Methods
has_network_acl?(table_id)
click to toggle source
# File lib/awspec/type/vpc.rb, line 30 def has_network_acl?(table_id) n = find_network_acl(table_id) return false unless n n.vpc_id == id end
has_route_table?(table_id)
click to toggle source
# File lib/awspec/type/vpc.rb, line 24 def has_route_table?(table_id) route_table = find_route_table(table_id) return false unless route_table route_table.vpc_id == id end
id()
click to toggle source
# File lib/awspec/type/vpc.rb, line 10 def id @id ||= resource_via_client.vpc_id if resource_via_client end
resource_via_client()
click to toggle source
# File lib/awspec/type/vpc.rb, line 6 def resource_via_client @resource_via_client ||= find_vpc(@display_name) end