amazonka-iam-0.3.6: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.AttachGroupPolicy

Contents

Description

Attaches the specified managed policy to the specified 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, refer to Managed Policies and InlinePolicies in the Using IAM guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_AttachGroupPolicy.html

Synopsis

Request

Request constructor

attachGroupPolicy Source

AttachGroupPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

agpGroupName :: Lens' AttachGroupPolicy Text Source

The name (friendly name, not ARN) of the group to attach the policy to.

Response

Response constructor