Struct aws_sdk_iam::model::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
sourceimpl 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.
sourceimpl AttachedPermissionsBoundary
impl AttachedPermissionsBoundary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttachedPermissionsBoundary
Trait Implementations
sourceimpl Clone for AttachedPermissionsBoundary
impl Clone for AttachedPermissionsBoundary
sourcefn clone(&self) -> AttachedPermissionsBoundary
fn clone(&self) -> AttachedPermissionsBoundary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttachedPermissionsBoundary
impl Debug for AttachedPermissionsBoundary
sourceimpl PartialEq<AttachedPermissionsBoundary> for AttachedPermissionsBoundary
impl PartialEq<AttachedPermissionsBoundary> for AttachedPermissionsBoundary
sourcefn eq(&self, other: &AttachedPermissionsBoundary) -> bool
fn eq(&self, other: &AttachedPermissionsBoundary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttachedPermissionsBoundary) -> bool
fn ne(&self, other: &AttachedPermissionsBoundary) -> bool
This method tests for !=
.
impl StructuralPartialEq for AttachedPermissionsBoundary
Auto Trait Implementations
impl RefUnwindSafe for AttachedPermissionsBoundary
impl Send for AttachedPermissionsBoundary
impl Sync for AttachedPermissionsBoundary
impl Unpin for AttachedPermissionsBoundary
impl UnwindSafe for AttachedPermissionsBoundary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more