module AWS::IAM::PolicyCollection
def []= name, document
-
document(Policy, String) -- The policy document. This can -
name(String) -- The name of the policy document.
def []= name, document document = document.to_json if document.respond_to?(:to_json) and !document.kind_of?(String) put_policy(:policy_name => name, :policy_document => document) end