Class: Inventory::Iam

Inherits:
Base
  • Object
show all
Defined in:
lib/inventory/iam.rb,
lib/inventory/iam/user.rb,
lib/inventory/iam/group.rb,
lib/inventory/iam/summary.rb

Defined Under Namespace

Modules: Shared Classes: Group, Summary, User

Instance Method Summary collapse

Methods inherited from Base

eager_load!, inherited, #initialize, #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

#instances, #security_groups

Constructor Details

This class inherits a constructor from Inventory::Base

Instance Method Details

#reportObject

Default is the groups report because it seems like the most useful report



8
9
10
11
12
# File 'lib/inventory/iam.rb', line 8

def report
  Summary.new(@options).report if show(:summary)
  User.new(@options).report if show(:users)
  Group.new(@options).report if show(:groups)
end