#[non_exhaustive]pub struct ActiveIamPolicyAssignment {
pub assignment_name: Option<String>,
pub policy_arn: Option<String>,
}Expand description
The active Identity and Access Management (IAM) policy assignment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assignment_name: Option<String>A name for the IAM policy assignment.
policy_arn: Option<String>The Amazon Resource Name (ARN) of the resource.
Implementations§
source§impl ActiveIamPolicyAssignment
impl ActiveIamPolicyAssignment
sourcepub fn assignment_name(&self) -> Option<&str>
pub fn assignment_name(&self) -> Option<&str>
A name for the IAM policy assignment.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource.
source§impl ActiveIamPolicyAssignment
impl ActiveIamPolicyAssignment
sourcepub fn builder() -> ActiveIamPolicyAssignmentBuilder
pub fn builder() -> ActiveIamPolicyAssignmentBuilder
Creates a new builder-style object to manufacture ActiveIamPolicyAssignment.
Trait Implementations§
source§impl Clone for ActiveIamPolicyAssignment
impl Clone for ActiveIamPolicyAssignment
source§fn clone(&self) -> ActiveIamPolicyAssignment
fn clone(&self) -> ActiveIamPolicyAssignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ActiveIamPolicyAssignment
impl Debug for ActiveIamPolicyAssignment
source§impl PartialEq for ActiveIamPolicyAssignment
impl PartialEq for ActiveIamPolicyAssignment
source§fn eq(&self, other: &ActiveIamPolicyAssignment) -> bool
fn eq(&self, other: &ActiveIamPolicyAssignment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActiveIamPolicyAssignment
Auto Trait Implementations§
impl RefUnwindSafe for ActiveIamPolicyAssignment
impl Send for ActiveIamPolicyAssignment
impl Sync for ActiveIamPolicyAssignment
impl Unpin for ActiveIamPolicyAssignment
impl UnwindSafe for ActiveIamPolicyAssignment
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.