#[non_exhaustive]pub struct PermissionsBoundaryBuilder { /* private fields */ }
Expand description
A builder for PermissionsBoundary
.
Implementations§
source§impl PermissionsBoundaryBuilder
impl PermissionsBoundaryBuilder
sourcepub fn customer_managed_policy_reference(
self,
input: CustomerManagedPolicyReference
) -> Self
pub fn customer_managed_policy_reference( self, input: CustomerManagedPolicyReference ) -> Self
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.
sourcepub fn set_customer_managed_policy_reference(
self,
input: Option<CustomerManagedPolicyReference>
) -> Self
pub fn set_customer_managed_policy_reference( self, input: Option<CustomerManagedPolicyReference> ) -> Self
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.
sourcepub fn get_customer_managed_policy_reference(
&self
) -> &Option<CustomerManagedPolicyReference>
pub fn get_customer_managed_policy_reference( &self ) -> &Option<CustomerManagedPolicyReference>
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.
sourcepub fn managed_policy_arn(self, input: impl Into<String>) -> Self
pub fn managed_policy_arn(self, input: impl Into<String>) -> Self
The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn set_managed_policy_arn(self, input: Option<String>) -> Self
pub fn set_managed_policy_arn(self, input: Option<String>) -> Self
The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn get_managed_policy_arn(&self) -> &Option<String>
pub fn get_managed_policy_arn(&self) -> &Option<String>
The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn build(self) -> PermissionsBoundary
pub fn build(self) -> PermissionsBoundary
Consumes the builder and constructs a PermissionsBoundary
.
Trait Implementations§
source§impl Clone for PermissionsBoundaryBuilder
impl Clone for PermissionsBoundaryBuilder
source§fn clone(&self) -> PermissionsBoundaryBuilder
fn clone(&self) -> PermissionsBoundaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PermissionsBoundaryBuilder
impl Debug for PermissionsBoundaryBuilder
source§impl Default for PermissionsBoundaryBuilder
impl Default for PermissionsBoundaryBuilder
source§fn default() -> PermissionsBoundaryBuilder
fn default() -> PermissionsBoundaryBuilder
source§impl PartialEq<PermissionsBoundaryBuilder> for PermissionsBoundaryBuilder
impl PartialEq<PermissionsBoundaryBuilder> for PermissionsBoundaryBuilder
source§fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.