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 |
Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail
Description
Documentation
data PermissionsBoundaryDecisionDetail Source #
Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.
See: newPermissionsBoundaryDecisionDetail
smart constructor.
Constructors
PermissionsBoundaryDecisionDetail' | |
Fields
|
Instances
newPermissionsBoundaryDecisionDetail :: PermissionsBoundaryDecisionDetail Source #
Create a value of PermissionsBoundaryDecisionDetail
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:allowedByPermissionsBoundary:PermissionsBoundaryDecisionDetail'
, permissionsBoundaryDecisionDetail_allowedByPermissionsBoundary
- Specifies whether an action is allowed by a permissions boundary that is
applied to an IAM entity (user or role). A value of true
means that
the permissions boundary does not deny the action. This means that the
policy includes an Allow
statement that matches the request. In this
case, if an identity-based policy also allows the action, the request is
allowed. A value of false
means that either the requested action is
not allowed (implicitly denied) or that the action is explicitly denied
by the permissions boundary. In both of these cases, the action is not
allowed, regardless of the identity-based policy.
permissionsBoundaryDecisionDetail_allowedByPermissionsBoundary :: Lens' PermissionsBoundaryDecisionDetail (Maybe Bool) Source #
Specifies whether an action is allowed by a permissions boundary that is
applied to an IAM entity (user or role). A value of true
means that
the permissions boundary does not deny the action. This means that the
policy includes an Allow
statement that matches the request. In this
case, if an identity-based policy also allows the action, the request is
allowed. A value of false
means that either the requested action is
not allowed (implicitly denied) or that the action is explicitly denied
by the permissions boundary. In both of these cases, the action is not
allowed, regardless of the identity-based policy.