Class: AWS::IAM::UserToGroupAddition

Inherits:
ModelElement show all
Defined in:
lib/cfn-model/model/iam_user_to_group_addition.rb

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

Constructor Details

#initializeUserToGroupAddition

Returns a new instance of UserToGroupAddition.



6
7
8
9
# File 'lib/cfn-model/model/iam_user_to_group_addition.rb', line 6

def initialize
  @users = []
  @resource_type = 'AWS::IAM::UserToGroupAddition'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ModelElement

Instance Attribute Details

#groupNameObject

Returns the value of attribute groupName.



4
5
6
# File 'lib/cfn-model/model/iam_user_to_group_addition.rb', line 4

def groupName
  @groupName
end

#usersObject

Returns the value of attribute users.



4
5
6
# File 'lib/cfn-model/model/iam_user_to_group_addition.rb', line 4

def users
  @users
end