Module: AwsExtensions::EC2::Vpc
- Defined in:
- lib/aws_extensions/ec2/Vpc.rb
Instance Method Summary collapse
-
#name ⇒ Object
Public: Returns the value of the “Name” tag for the VPC.
Instance Method Details
#name ⇒ Object
Public: Returns the value of the “Name” tag for the VPC
6 7 8 9 10 |
# File 'lib/aws_extensions/ec2/Vpc.rb', line 6 def name self..select { |tag| tag.key == "Name" }.first.value rescue nil end |