#[non_exhaustive]pub struct PermissionsBoundaryDecisionDetail {
pub allowed_by_permissions_boundary: bool,
}
Expand description
Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.allowed_by_permissions_boundary: 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.
Implementations§
source§impl PermissionsBoundaryDecisionDetail
impl PermissionsBoundaryDecisionDetail
sourcepub fn allowed_by_permissions_boundary(&self) -> bool
pub fn allowed_by_permissions_boundary(&self) -> 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.
source§impl PermissionsBoundaryDecisionDetail
impl PermissionsBoundaryDecisionDetail
sourcepub fn builder() -> PermissionsBoundaryDecisionDetailBuilder
pub fn builder() -> PermissionsBoundaryDecisionDetailBuilder
Creates a new builder-style object to manufacture PermissionsBoundaryDecisionDetail
.
Trait Implementations§
source§impl Clone for PermissionsBoundaryDecisionDetail
impl Clone for PermissionsBoundaryDecisionDetail
source§fn clone(&self) -> PermissionsBoundaryDecisionDetail
fn clone(&self) -> PermissionsBoundaryDecisionDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PermissionsBoundaryDecisionDetail
impl PartialEq for PermissionsBoundaryDecisionDetail
source§fn eq(&self, other: &PermissionsBoundaryDecisionDetail) -> bool
fn eq(&self, other: &PermissionsBoundaryDecisionDetail) -> bool
self
and other
values to be equal, and is used
by ==
.