Interface CfnAssignmentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssignmentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.856Z") @Stability(Stable) public interface CfnAssignmentProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAssignment.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sso.*;
 CfnAssignmentProps cfnAssignmentProps = CfnAssignmentProps.builder()
         .instanceArn("instanceArn")
         .permissionSetArn("permissionSetArn")
         .principalId("principalId")
         .principalType("principalType")
         .targetId("targetId")
         .targetType("targetType")
         .build();
 
  • Method Details

    • getInstanceArn

      @Stability(Stable) @NotNull String getInstanceArn()
      The ARN of the IAM Identity Center 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 .

    • getPermissionSetArn

      @Stability(Stable) @NotNull String getPermissionSetArn()
      The ARN of the permission set.
    • getPrincipalId

      @Stability(Stable) @NotNull String getPrincipalId()
      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 .

    • getPrincipalType

      @Stability(Stable) @NotNull String getPrincipalType()
      The entity type for which the assignment will be created.
    • getTargetId

      @Stability(Stable) @NotNull String getTargetId()
      TargetID is an AWS account identifier, (For example, 123456789012).
    • getTargetType

      @Stability(Stable) @NotNull String getTargetType()
      The entity type for which the assignment will be created.
    • builder

      @Stability(Stable) static CfnAssignmentProps.Builder builder()
      Returns:
      a CfnAssignmentProps.Builder of CfnAssignmentProps