def class_properties
      # klass is PostsController, HardJob, GameRule, Hello or HelloFunction
      klass = Jets::Klass.from_task(@task)

      class_properties = lookup_class_properties(klass)
      if klass.build_class_iam?
        iam_policy = Jets::Resource::Iam::ClassRole.new(klass)
        class_properties[:role] = "!GetAtt #{iam_policy.logical_id}.Arn"
      end

      class_properties
    end
def class_properties
      # klass is PostsController, HardJob, GameRule, Hello or HelloFunction
      klass = Jets::Klass.from_task(@task)

      class_properties = lookup_class_properties(klass)
      if klass.build_class_iam?
        iam_policy = Jets::Resource::Iam::ClassRole.new(klass)
        class_properties[:role] = "!GetAtt #{iam_policy.logical_id}.Arn"
      end

      class_properties
    end
Class properties example:

   class PostsController < ApplicationController
     class_timeout 22
     ...
   end

 Also handles iam policy override at the class level. Example:

   class_iam_policy("logs:*")