# CfnAssignmentProps

Properties for defining a `CfnAssignment`.

Extends: CfnAssignmentProps
Used as props by: CfnAssignment

- Source: Generated code

## Example

```ts
// 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

- `instanceArn`: string (required) — 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](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) in the *AWS General Reference* .

- `permissionSetArn`: string (required) — The ARN of the permission set.

- `principalId`: string (required) — 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](https://docs.aws.amazon.com//singlesignon/latest/IdentityStoreAPIReference/welcome.html) .

- `principalType`: string (required) — The entity type for which the assignment will be created.

- `targetId`: string (required) — TargetID is an AWS account identifier, (For example, 123456789012).

- `targetType`: string (required) — The entity type for which the assignment will be created.
