aws-cdk-lib.aws_sso.CfnAssignmentProps

interface CfnAssignmentProps

LanguageType name
.NETAmazon.CDK.AWS.SSO.CfnAssignmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssso#CfnAssignmentProps
Javasoftware.amazon.awscdk.services.sso.CfnAssignmentProps
Pythonaws_cdk.aws_sso.CfnAssignmentProps
TypeScript aws-cdk-lib » aws_sso » CfnAssignmentProps

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 { aws_sso as sso } from 'aws-cdk-lib';
const cfnAssignmentProps: sso.CfnAssignmentProps = {
  instanceArn: 'instanceArn',
  permissionSetArn: 'permissionSetArn',
  principalId: 'principalId',
  principalType: 'principalType',
  targetId: 'targetId',
  targetType: 'targetType',
};

Properties

NameTypeDescription
instanceArnstringThe ARN of the IAM Identity Center instance under which the operation will be executed.
permissionSetArnstringThe ARN of the permission set.
principalIdstringAn identifier for an object in IAM Identity Center, such as a user or group.
principalTypestringThe entity type for which the assignment will be created.
targetIdstringTargetID is an AWS account identifier, (For example, 123456789012).
targetTypestringThe entity type for which the assignment will be created.

instanceArn

Type: string

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 .


permissionSetArn

Type: string

The ARN of the permission set.


principalId

Type: string

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 .


principalType

Type: string

The entity type for which the assignment will be created.


targetId

Type: string

TargetID is an AWS account identifier, (For example, 123456789012).


targetType

Type: string

The entity type for which the assignment will be created.