# CfnUserProfileProps

Properties for defining a `CfnUserProfile`.

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

- Source: Generated at build time
- Type last changed: v2.254.0 · 13 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const cfnUserProfileProps: datazone.CfnUserProfileProps = {
  domainIdentifier: 'domainIdentifier',
  userIdentifier: 'userIdentifier',

  // the properties below are optional
  sessionName: 'sessionName',
  status: 'status',
  userType: 'userType',
};
```

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_datazone as datazone

cfn_user_profile_props = datazone.CfnUserProfileProps(
    domain_identifier="domainIdentifier",
    user_identifier="userIdentifier",

    # the properties below are optional
    session_name="sessionName",
    status="status",
    user_type="userType"
)
```

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.datazone.*;

CfnUserProfileProps cfnUserProfileProps = CfnUserProfileProps.builder()
        .domainIdentifier("domainIdentifier")
        .userIdentifier("userIdentifier")

        // the properties below are optional
        .sessionName("sessionName")
        .status("status")
        .userType("userType")
        .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.DataZone;

var cfnUserProfileProps = new CfnUserProfileProps {
    DomainIdentifier = "domainIdentifier",
    UserIdentifier = "userIdentifier",

    // the properties below are optional
    SessionName = "sessionName",
    Status = "status",
    UserType = "userType"
};
```

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"

cfnUserProfileProps := &CfnUserProfileProps{
	DomainIdentifier: jsii.String("domainIdentifier"),
	UserIdentifier: jsii.String("userIdentifier"),

	// the properties below are optional
	SessionName: jsii.String("sessionName"),
	Status: jsii.String("status"),
	UserType: jsii.String("userType"),
}
```

## Properties

- `domainIdentifier`: string (required) — The identifier of a Amazon DataZone domain in which a user profile exists.

- `sessionName`: string — The session name of the user profile.

- `status`: string — The status of the user profile.

- `userIdentifier`: string (required) — The identifier of the user for which the user profile is created.

- `userType`: string — The user type of the user for which the user profile is created.
