Method: BuildCloud::IAMRole#initialize

Defined in:
lib/build-cloud/iamrole.rb

#initialize(fog_interfaces, log, options = {}) ⇒ IAMRole

Returns a new instance of IAMRole.



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/build-cloud/iamrole.rb', line 9

def initialize ( fog_interfaces, log, options = {} )

    @iam     = fog_interfaces[:iam]
    @log     = log
    @options = options

    @log.debug( options.inspect )

    required_options(:rolename, :assume_role_policy_document)

end