#[non_exhaustive]pub struct CustomerManagedPolicyReference {
pub name: Option<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 AWS 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: Option<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) -> 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() -> 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<CustomerManagedPolicyReference> for CustomerManagedPolicyReference
impl PartialEq<CustomerManagedPolicyReference> 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 ==
.