| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.Types.AttachedPolicy
Description
Synopsis
Documentation
data AttachedPolicy Source #
Contains information about an attached policy.
An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.
For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.
See: newAttachedPolicy smart constructor.
Constructors
| AttachedPolicy' | |
Instances
newAttachedPolicy :: AttachedPolicy Source #
Create a value of AttachedPolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policyArn:AttachedPolicy', attachedPolicy_policyArn - Undocumented member.
$sel:policyName:AttachedPolicy', attachedPolicy_policyName - The friendly name of the attached policy.
attachedPolicy_policyArn :: Lens' AttachedPolicy (Maybe Text) Source #
Undocumented member.
attachedPolicy_policyName :: Lens' AttachedPolicy (Maybe Text) Source #
The friendly name of the attached policy.