Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data IamActionDefinition = IamActionDefinition' {}
- newIamActionDefinition :: Text -> IamActionDefinition
- iamActionDefinition_groups :: Lens' IamActionDefinition (Maybe (NonEmpty Text))
- iamActionDefinition_roles :: Lens' IamActionDefinition (Maybe (NonEmpty Text))
- iamActionDefinition_users :: Lens' IamActionDefinition (Maybe (NonEmpty Text))
- iamActionDefinition_policyArn :: Lens' IamActionDefinition Text
Documentation
data IamActionDefinition Source #
The AWS Identity and Access Management (IAM) action definition details.
See: newIamActionDefinition
smart constructor.
IamActionDefinition' | |
|
Instances
newIamActionDefinition Source #
Create a value of IamActionDefinition
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:groups:IamActionDefinition'
, iamActionDefinition_groups
- A list of groups to be attached. There must be at least one group.
$sel:roles:IamActionDefinition'
, iamActionDefinition_roles
- A list of roles to be attached. There must be at least one role.
$sel:users:IamActionDefinition'
, iamActionDefinition_users
- A list of users to be attached. There must be at least one user.
$sel:policyArn:IamActionDefinition'
, iamActionDefinition_policyArn
- The Amazon Resource Name (ARN) of the policy to be attached.
iamActionDefinition_groups :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #
A list of groups to be attached. There must be at least one group.
iamActionDefinition_roles :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #
A list of roles to be attached. There must be at least one role.
iamActionDefinition_users :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #
A list of users to be attached. There must be at least one user.
iamActionDefinition_policyArn :: Lens' IamActionDefinition Text Source #
The Amazon Resource Name (ARN) of the policy to be attached.