Class CfnPermissionSet.PermissionsBoundaryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sso.CfnPermissionSet.PermissionsBoundaryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionSet.PermissionsBoundaryProperty>
- Enclosing interface:
CfnPermissionSet.PermissionsBoundaryProperty
@Stability(Stable)
public static final class CfnPermissionSet.PermissionsBoundaryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionSet.PermissionsBoundaryProperty>
A builder for
CfnPermissionSet.PermissionsBoundaryProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManagedPolicyReference
(IResolvable customerManagedPolicyReference) customerManagedPolicyReference
(CfnPermissionSet.CustomerManagedPolicyReferenceProperty customerManagedPolicyReference) managedPolicyArn
(String managedPolicyArn) Sets the value ofCfnPermissionSet.PermissionsBoundaryProperty.getManagedPolicyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedPolicyReference
@Stability(Stable) public CfnPermissionSet.PermissionsBoundaryProperty.Builder customerManagedPolicyReference(IResolvable customerManagedPolicyReference) - Parameters:
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.- Returns:
this
-
customerManagedPolicyReference
@Stability(Stable) public CfnPermissionSet.PermissionsBoundaryProperty.Builder customerManagedPolicyReference(CfnPermissionSet.CustomerManagedPolicyReferenceProperty customerManagedPolicyReference) - Parameters:
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.- Returns:
this
-
managedPolicyArn
@Stability(Stable) public CfnPermissionSet.PermissionsBoundaryProperty.Builder managedPolicyArn(String managedPolicyArn) Sets the value ofCfnPermissionSet.PermissionsBoundaryProperty.getManagedPolicyArn()
- Parameters:
managedPolicyArn
- The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermissionSet.PermissionsBoundaryProperty>
- Returns:
- a new instance of
CfnPermissionSet.PermissionsBoundaryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-