class Convection::Model::Template::Resource::IAMManagedPolicy

AWS::IAM::ManagedPolicy

Attributes

document[R]

Public Class Methods

new(*args) click to toggle source
# File lib/convection/model/template/resource/aws_iam_managed_policy.rb, line 23
def initialize(*args)
  super
  @document = Model::Mixin::Policy.new(:template => @template)
end

Public Instance Methods

render() click to toggle source
# File lib/convection/model/template/resource/aws_iam_managed_policy.rb, line 28
def render
  super.tap do |r|
    document.render(r['Properties'])
    r['Properties'].delete('PolicyName')
  end
end