module AWS::IAM::PolicyCollection

def to_h

Returns:
  • (Hash) - The contents of the collection as a hash.
def to_h
  inject({}) do |hash, (name, policy)|
    hash[name] = policy
    hash
  end
end