Sha256: d00e8f14b07b6db179180665dc4d3c15e3bcd889e6f6bfc967bdd12692214dc6
Contents?: true
Size: 761 Bytes
Versions: 15
Compression:
Stored size: 761 Bytes
Contents
module Jets::Cfn::Resource::Iam class ApplicationRole < Jets::Cfn::Base include BaseRoleDefinition def initialize @policy_definitions = Jets.config.iam_policy # config.iam_policy contains definitions @policy_definitions = @policy_definitions ? [@policy_definitions].flatten : [] @managed_policy_definitions = Jets.config.managed_iam_policy # config.managed_iam_policy contains definitions @managed_policy_definitions = @managed_policy_definitions ? [@managed_policy_definitions].flatten : [] end def role_logical_id "IamRole" end def policy_name "#{Jets.project_namespace}-application-policy" end def outputs { logical_id => "!Ref #{logical_id}", } end end end
Version data entries
15 entries across 15 versions & 1 rubygems