#[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 ==
.