#[non_exhaustive]pub struct CustomerManagedPolicyReference {
pub name: String,
pub path: Option<String>,
}
Expand description
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
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.name: String
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
path: Option<String>
The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /
. For more information, see Friendly names and paths in the IAM User Guide.
Implementations§
source§impl CustomerManagedPolicyReference
impl CustomerManagedPolicyReference
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /
. For more information, see Friendly names and paths in the IAM User Guide.
source§impl CustomerManagedPolicyReference
impl CustomerManagedPolicyReference
sourcepub fn builder() -> CustomerManagedPolicyReferenceBuilder
pub fn builder() -> CustomerManagedPolicyReferenceBuilder
Creates a new builder-style object to manufacture CustomerManagedPolicyReference
.
Trait Implementations§
source§impl Clone for CustomerManagedPolicyReference
impl Clone for CustomerManagedPolicyReference
source§fn clone(&self) -> CustomerManagedPolicyReference
fn clone(&self) -> CustomerManagedPolicyReference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CustomerManagedPolicyReference
impl PartialEq for CustomerManagedPolicyReference
source§fn eq(&self, other: &CustomerManagedPolicyReference) -> bool
fn eq(&self, other: &CustomerManagedPolicyReference) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerManagedPolicyReference
Auto Trait Implementations§
impl Freeze for CustomerManagedPolicyReference
impl RefUnwindSafe for CustomerManagedPolicyReference
impl Send for CustomerManagedPolicyReference
impl Sync for CustomerManagedPolicyReference
impl Unpin for CustomerManagedPolicyReference
impl UnwindSafe for CustomerManagedPolicyReference
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more