class AWS::IAM::Policy

@private

Public Instance Methods

to_h() click to toggle source
# File lib/aws/iam/policy.rb, line 20
def to_h
  hash = super
  hash.delete('Id')
  hash['Statement'].each do |statement|
    statement.delete('Sid')
    statement.delete('Principal')
  end
  hash
end