Method: Awspec::Type::IamUser#initialize
- Defined in:
- lib/awspec/type/iam_user.rb
#initialize(id) ⇒ IamUser
Returns a new instance of IamUser.
5 6 7 8 9 |
# File 'lib/awspec/type/iam_user.rb', line 5 def initialize(id) super @resource_via_client = find_iam_user(id) @id = @resource_via_client.user_id if @resource_via_client end |