module AwsExtensions::EC2::Vpc

Public Instance Methods

name() click to toggle source

Public: Returns the value of the “Name” tag for the VPC

# File lib/aws_extensions/ec2/Vpc.rb, line 6
def name
  self.tags.select { |tag| tag.key == "Name" }.first.value
rescue
  nil
end