class AWS::IAM::UserCollection

def [] name

Returns:
  • (User) - Returns a reference to the named user.

Parameters:
  • name (String) -- Name of the user to return a reference for.
def [] name
  User.new(name.to_s, :config => config)
end