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 ==
.