Class CfnAssignmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sso.CfnAssignmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssignmentPropsMixin>
- Enclosing class:
CfnAssignmentPropsMixin
@Stability(Stable)
public static final class CfnAssignmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssignmentPropsMixin>
A fluent builder for
CfnAssignmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) instanceArn(String instanceArn) The ARN of the instance under which the operation will be executed.permissionSetArn(String permissionSetArn) The ARN of the permission set.principalId(String principalId) An identifier for an object in IAM Identity Center, such as a user or group.principalType(String principalType) The entity type for which the assignment will be created.TargetID is an AWS account identifier, (For example, 123456789012).targetType(String targetType) The entity type for which the assignment will be created.
-
Method Details
-
create
@Stability(Stable) public static CfnAssignmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAssignmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAssignmentPropsMixin.Builder.
-
instanceArn
The ARN of the instance under which the operation will be executed.For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
- Parameters:
instanceArn- The ARN of the instance under which the operation will be executed. This parameter is required.- Returns:
this- See Also:
-
permissionSetArn
The ARN of the permission set.- Parameters:
permissionSetArn- The ARN of the permission set. This parameter is required.- Returns:
this- See Also:
-
principalId
An identifier for an object in IAM Identity Center, such as a user or group.PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference .
- Parameters:
principalId- An identifier for an object in IAM Identity Center, such as a user or group. This parameter is required.- Returns:
this- See Also:
-
principalType
The entity type for which the assignment will be created.- Parameters:
principalType- The entity type for which the assignment will be created. This parameter is required.- Returns:
this- See Also:
-
targetId
TargetID is an AWS account identifier, (For example, 123456789012).- Parameters:
targetId- TargetID is an AWS account identifier, (For example, 123456789012). This parameter is required.- Returns:
this- See Also:
-
targetType
The entity type for which the assignment will be created.- Parameters:
targetType- The entity type for which the assignment will be created. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssignmentPropsMixin>- Returns:
- a newly built instance of
CfnAssignmentPropsMixin.
-