Class: AWSDSL::RoleProfile

Inherits:
Role
  • Object
show all
Includes:
DSL
Defined in:
lib/awsdsl/dsl/role_profile.rb

Instance Attribute Summary collapse

Attributes included from DSL

#name

Attributes inherited from Role

#ami

Instance Method Summary collapse

Methods included from DSL

included, #to_h

Methods included from Fn

#stack

Constructor Details

#initialize(name, &block) ⇒ RoleProfile

Returns a new instance of RoleProfile.



26
27
28
29
# File 'lib/awsdsl/dsl/role_profile.rb', line 26

def initialize(name, &block)
  @block = block if block_given?
  super
end

Instance Attribute Details

#blockObject

Returns the value of attribute block.



4
5
6
# File 'lib/awsdsl/dsl/role_profile.rb', line 4

def block
  @block
end