#[non_exhaustive]pub struct CustomerManagedPolicyReference { /* private fields */ }
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 AWS account where you want to deploy your permission set.
Implementations§
source§impl CustomerManagedPolicyReference
impl CustomerManagedPolicyReference
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&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() -> Builder
pub fn builder() -> Builder
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
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 PartialEq<CustomerManagedPolicyReference> for CustomerManagedPolicyReference
impl PartialEq<CustomerManagedPolicyReference> for CustomerManagedPolicyReference
source§fn eq(&self, other: &CustomerManagedPolicyReference) -> bool
fn eq(&self, other: &CustomerManagedPolicyReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.