Method: Jets::Cfn::Builders::BaseChildBuilder#add_class_iam_policy

Defined in:
lib/jets/cfn/builders/base_child_builder.rb

#add_class_iam_policyObject



55
56
57
58
59
60
# File 'lib/jets/cfn/builders/base_child_builder.rb', line 55

def add_class_iam_policy
  return unless @app_class.build_class_iam?

  resource = Jets::Resource::Iam::ClassRole.new(@app_class)
  add_resource(resource)
end