# AssignmentReference

A reference to a Assignment resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sso as interfaces_sso } from 'aws-cdk-lib/interfaces';
const assignmentReference: interfaces_sso.AssignmentReference = {
  instanceArn: 'instanceArn',
  permissionSetArn: 'permissionSetArn',
  principalId: 'principalId',
  principalType: 'principalType',
  targetId: 'targetId',
  targetType: 'targetType',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_sso as interfaces_sso

assignment_reference = interfaces_sso.AssignmentReference(
    instance_arn="instanceArn",
    permission_set_arn="permissionSetArn",
    principal_id="principalId",
    principal_type="principalType",
    target_id="targetId",
    target_type="targetType"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.sso.*;

AssignmentReference assignmentReference = AssignmentReference.builder()
        .instanceArn("instanceArn")
        .permissionSetArn("permissionSetArn")
        .principalId("principalId")
        .principalType("principalType")
        .targetId("targetId")
        .targetType("targetType")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.SSO;

var assignmentReference = new AssignmentReference {
    InstanceArn = "instanceArn",
    PermissionSetArn = "permissionSetArn",
    PrincipalId = "principalId",
    PrincipalType = "principalType",
    TargetId = "targetId",
    TargetType = "targetType"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

assignmentReference := &AssignmentReference{
	InstanceArn: jsii.String("instanceArn"),
	PermissionSetArn: jsii.String("permissionSetArn"),
	PrincipalId: jsii.String("principalId"),
	PrincipalType: jsii.String("principalType"),
	TargetId: jsii.String("targetId"),
	TargetType: jsii.String("targetType"),
}
```

## Properties

- `instanceArn`: string (required) — The InstanceArn of the Assignment resource.

- `permissionSetArn`: string (required) — The PermissionSetArn of the Assignment resource.

- `principalId`: string (required) — The PrincipalId of the Assignment resource.

- `principalType`: string (required) — The PrincipalType of the Assignment resource.

- `targetId`: string (required) — The TargetId of the Assignment resource.

- `targetType`: string (required) — The TargetType of the Assignment resource.
