libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Description

 
Synopsis

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

  • allowedByPermissionsBoundary :: Maybe Bool

    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.

Instances

Instances details
Eq PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Read PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Show PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Generic PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Associated Types

type Rep PermissionsBoundaryDecisionDetail :: Type -> Type #

NFData PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

Hashable PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

FromXML PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

type Rep PermissionsBoundaryDecisionDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail

type Rep PermissionsBoundaryDecisionDetail = D1 ('MetaData "PermissionsBoundaryDecisionDetail" "Amazonka.IAM.Types.PermissionsBoundaryDecisionDetail" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "PermissionsBoundaryDecisionDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowedByPermissionsBoundary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

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.