Class | AWS::IAM::GroupPolicyCollection |
In: |
lib/aws/iam/group_policy_collection.rb
|
Parent: | Object |
A collection that provides access to the policies associated with an IAM group. The interface mimics a hash containing string keys and values that are instances of {Policy}. For example:
# add or replace a policy named "ReadOnly" policy = AWS::IAM::Policy.new do |p| # ... end group.policies["ReadOnly"] = policy group.policies.has_key?("ReadOnly") # => true
All of the methods for this class are defined in the {PolicyCollection} module.
group | [R] | @attr_reader [Group] The group. |