Class: AwsEc2List::Instance
- Inherits:
-
Object
- Object
- AwsEc2List::Instance
- Defined in:
- lib/aws_ec2_list/instance.rb
Instance Method Summary collapse
Instance Method Details
#app_version ⇒ Object
26 27 28 |
# File 'lib/aws_ec2_list/instance.rb', line 26 def app_version .find{ |t| t.key == "app_version" }.value rescue nil end |
#name ⇒ Object
14 15 16 |
# File 'lib/aws_ec2_list/instance.rb', line 14 def name .find{ |t| t.key == "Name" }.value rescue nil end |
#project ⇒ Object
22 23 24 |
# File 'lib/aws_ec2_list/instance.rb', line 22 def project .find{ |t| t.key == "project" }.value rescue nil end |
#stack_name ⇒ Object
18 19 20 |
# File 'lib/aws_ec2_list/instance.rb', line 18 def stack_name .find{ |t| t.key == "aws:cloudformation:stack-name" }.value rescue nil end |