class Swa::EC2::Vpc
Public Instance Methods
default_marker()
click to toggle source
# File lib/swa/ec2/vpc.rb, line 28 def default_marker "*" if vpc.is_default end
id()
click to toggle source
# File lib/swa/ec2/vpc.rb, line 11 def id vpc.vpc_id end
name()
click to toggle source
# File lib/swa/ec2/vpc.rb, line 24 def name tags["Name"] end
summary()
click to toggle source
# File lib/swa/ec2/vpc.rb, line 15 def summary [ field(vpc, :vpc_id), pad(default_marker, 1), field(vpc, :cidr_block), quoted(name) ].join(" ") end