Class: AwsInventory::Eb
Instance Method Summary collapse
Methods inherited from Base
eager_load!, inherited, #initialize, #report, #show, #sort, subclasses, #test_mode
Methods included from AwsServices
#acm, #cfn, #cw, #eb, #ec2, #ecs, #elbv1, #elbv2, #iam, #pricing, #rds, #route53
Methods included from Shared
Constructor Details
This class inherits a constructor from AwsInventory::Base
Instance Method Details
#data ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/aws_inventory/eb.rb', line 6 def data eb_environments.map do |environment| [ environment.environment_name, environment.application_name, environment.solution_stack_name, ] end end |
#eb_environments ⇒ Object
16 17 18 |
# File 'lib/aws_inventory/eb.rb', line 16 def eb_environments @eb_environments ||= eb.describe_environments.environments end |
#header ⇒ Object
2 3 4 |
# File 'lib/aws_inventory/eb.rb', line 2 def header ["Environment", "Application", "Solution Stack"] end |