#[non_exhaustive]pub struct PolicyDescriptorType {
pub arn: Option<String>,
}
Expand description
A reference to the IAM managed policy that is passed as a session policy for a role session or a federated user session.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
Implementations§
Source§impl PolicyDescriptorType
impl PolicyDescriptorType
Sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
Source§impl PolicyDescriptorType
impl PolicyDescriptorType
Sourcepub fn builder() -> PolicyDescriptorTypeBuilder
pub fn builder() -> PolicyDescriptorTypeBuilder
Creates a new builder-style object to manufacture PolicyDescriptorType
.
Trait Implementations§
Source§impl Clone for PolicyDescriptorType
impl Clone for PolicyDescriptorType
Source§fn clone(&self) -> PolicyDescriptorType
fn clone(&self) -> PolicyDescriptorType
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 PolicyDescriptorType
impl Debug for PolicyDescriptorType
Source§impl PartialEq for PolicyDescriptorType
impl PartialEq for PolicyDescriptorType
impl StructuralPartialEq for PolicyDescriptorType
Auto Trait Implementations§
impl Freeze for PolicyDescriptorType
impl RefUnwindSafe for PolicyDescriptorType
impl Send for PolicyDescriptorType
impl Sync for PolicyDescriptorType
impl Unpin for PolicyDescriptorType
impl UnwindSafe for PolicyDescriptorType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Creates a shared type from an unshared type.