You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::Group Instance Attribute Summary collapseThe Amazon Resource Name (ARN) specifying the group.
The date and time, in [ISO 8601 date-time format][1], when the group was created.
The stable and unique string identifying the group.
The friendly name that identifies the group.
The path to the group.
Adds the specified user to the specified group.
.
Attaches the specified managed policy to the specified IAM group.
You use this API to attach a managed policy to a group.
Returns a Collection of Policy resources.
Deletes the specified IAM group.
Removes the specified managed policy from the specified IAM group.
A group can also have inline policies embedded with it.
Returns a Collection of GroupPolicy resources.
Removes the specified user from the specified group.
.
Returns a Collection of User resources.
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details #initialize(name, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Attribute Details #arn ⇒ StringThe Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
#group_id ⇒ StringThe stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
#group_name ⇒ StringThe friendly name that identifies the group.
#path ⇒ StringThe path to the group. For more information about paths, see IAM Identifiers in the IAM User Guide.
Instance Method Details #add_user(options = {}) ⇒ StructAdds the specified user to the specified group.
#attach_policy(options = {}) ⇒ StructAttaches the specified managed policy to the specified IAM group.
You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy.
For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide.
#attached_policies(options = {}) ⇒ Collection<Policy> #create(options = {}) ⇒ Group #delete ⇒ StructDeletes the specified IAM group. The group must not contain any users or have any attached policies.
#detach_policy(options = {}) ⇒ StructRemoves the specified managed policy from the specified IAM group.
A group can also have inline policies embedded with it. To delete an inline policy, use the DeleteGroupPolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide.
#remove_user(options = {}) ⇒ StructRemoves the specified user from the specified group.
#update(options = {}) ⇒ Group #users(options = {}) ⇒ Collection<User>Returns a Collection of User resources. No API requests are made until you call an enumerable method on the collection. Client#get_group will be called multiple times until every User has been yielded.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4