Struct aws_sdk_iam::types::AttachedPermissionsBoundary
source · #[non_exhaustive]pub struct AttachedPermissionsBoundary {
pub permissions_boundary_type: Option<PermissionsBoundaryAttachmentType>,
pub permissions_boundary_arn: Option<String>,
}
Expand description
Contains information about an attached permissions boundary.
An attached permissions boundary is a managed policy that has been attached to a user or role to set the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
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.permissions_boundary_type: Option<PermissionsBoundaryAttachmentType>
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy
.
permissions_boundary_arn: Option<String>
The ARN of the policy used to set the permissions boundary for the user or role.
Implementations§
source§impl AttachedPermissionsBoundary
impl AttachedPermissionsBoundary
sourcepub fn permissions_boundary_type(
&self,
) -> Option<&PermissionsBoundaryAttachmentType>
pub fn permissions_boundary_type( &self, ) -> Option<&PermissionsBoundaryAttachmentType>
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy
.
sourcepub fn permissions_boundary_arn(&self) -> Option<&str>
pub fn permissions_boundary_arn(&self) -> Option<&str>
The ARN of the policy used to set the permissions boundary for the user or role.
source§impl AttachedPermissionsBoundary
impl AttachedPermissionsBoundary
sourcepub fn builder() -> AttachedPermissionsBoundaryBuilder
pub fn builder() -> AttachedPermissionsBoundaryBuilder
Creates a new builder-style object to manufacture AttachedPermissionsBoundary
.
Trait Implementations§
source§impl Clone for AttachedPermissionsBoundary
impl Clone for AttachedPermissionsBoundary
source§fn clone(&self) -> AttachedPermissionsBoundary
fn clone(&self) -> AttachedPermissionsBoundary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttachedPermissionsBoundary
impl Debug for AttachedPermissionsBoundary
source§impl PartialEq for AttachedPermissionsBoundary
impl PartialEq for AttachedPermissionsBoundary
source§fn eq(&self, other: &AttachedPermissionsBoundary) -> bool
fn eq(&self, other: &AttachedPermissionsBoundary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachedPermissionsBoundary
Auto Trait Implementations§
impl Freeze for AttachedPermissionsBoundary
impl RefUnwindSafe for AttachedPermissionsBoundary
impl Send for AttachedPermissionsBoundary
impl Sync for AttachedPermissionsBoundary
impl Unpin for AttachedPermissionsBoundary
impl UnwindSafe for AttachedPermissionsBoundary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more