# CfnApplicationAssignmentProps

Properties for defining a `CfnApplicationAssignment`.

Used as props by: [CfnApplicationAssignment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sso.CfnApplicationAssignment.html)

- Source: Generated at build time
- Type last changed: v2.143.0 · 24 May 2024

## 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 sso } from 'aws-cdk-lib';
const cfnApplicationAssignmentProps: sso.CfnApplicationAssignmentProps = {
  applicationArn: 'applicationArn',
  principalId: 'principalId',
  principalType: 'principalType',
};
```

Python:

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

cfn_application_assignment_props = sso.CfnApplicationAssignmentProps(
    application_arn="applicationArn",
    principal_id="principalId",
    principal_type="principalType"
)
```

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.services.sso.*;

CfnApplicationAssignmentProps cfnApplicationAssignmentProps = CfnApplicationAssignmentProps.builder()
        .applicationArn("applicationArn")
        .principalId("principalId")
        .principalType("principalType")
        .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.AWS.SSO;

var cfnApplicationAssignmentProps = new CfnApplicationAssignmentProps {
    ApplicationArn = "applicationArn",
    PrincipalId = "principalId",
    PrincipalType = "principalType"
};
```

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"

cfnApplicationAssignmentProps := &CfnApplicationAssignmentProps{
	ApplicationArn: jsii.String("applicationArn"),
	PrincipalId: jsii.String("principalId"),
	PrincipalType: jsii.String("principalType"),
}
```

## Properties

- `applicationArn`: string (required) — The ARN of the application that has principals assigned.

- `principalId`: string (required) — The unique identifier of the principal assigned to the application.

- `principalType`: string (required) — The type of the principal assigned to the application.
