Struct aws_sdk_sts::types::PolicyDescriptorType
source · #[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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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.