class AWS::IAM::GroupPolicyCollection
{PolicyCollection} module.
All of the methods for this class are defined in the
group.policies.has_key?(“ReadOnly”) # => true<br>group.policies = policy
end
# …
policy = AWS::IAM::Policy.new do |p|
# add or replace a policy named “ReadOnly”
example:
string keys and values that are instances of {Policy}. For
with an IAM group. The interface mimics a hash containing
A collection that provides access to the policies associated
def initialize group, opts = {}
- Private: -
def initialize group, opts = {} @group = group super end