Method: VScripts::AWS::EC2#name

Defined in:
lib/vscripts/aws/ec2.rb

#nameString

Looks for the value of the ‘Name’ tag for the given instance

Returns:

  • (String)

    the name value



63
64
65
# File 'lib/vscripts/aws/ec2.rb', line 63

def name
  all_tags_hash['Name']
end