class AwsEc2List::Instance

Public Instance Methods

app_version() click to toggle source
# File lib/aws_ec2_list/instance.rb, line 27
def app_version
  tags.find{ |t| t.key == "app_version" }.value rescue nil
end
name() click to toggle source
# File lib/aws_ec2_list/instance.rb, line 15
def name
  tags.find{ |t| t.key == "Name" }.value rescue nil
end
project() click to toggle source
# File lib/aws_ec2_list/instance.rb, line 23
def project
  tags.find{ |t| t.key == "project" }.value rescue nil
end
stack_name() click to toggle source
# File lib/aws_ec2_list/instance.rb, line 19
def stack_name
  tags.find{ |t| t.key == "aws:cloudformation:stack-name" }.value rescue nil
end