# UserProfileReference

A reference to a UserProfile 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_sagemaker as interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const userProfileReference: interfaces_sagemaker.UserProfileReference = {
  domainId: 'domainId',
  userProfileArn: 'userProfileArn',
  userProfileName: 'userProfileName',
};
```

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_sagemaker as interfaces_sagemaker

user_profile_reference = interfaces_sagemaker.UserProfileReference(
    domain_id="domainId",
    user_profile_arn="userProfileArn",
    user_profile_name="userProfileName"
)
```

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

UserProfileReference userProfileReference = UserProfileReference.builder()
        .domainId("domainId")
        .userProfileArn("userProfileArn")
        .userProfileName("userProfileName")
        .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.Sagemaker;

var userProfileReference = new UserProfileReference {
    DomainId = "domainId",
    UserProfileArn = "userProfileArn",
    UserProfileName = "userProfileName"
};
```

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"

userProfileReference := &UserProfileReference{
	DomainId: jsii.String("domainId"),
	UserProfileArn: jsii.String("userProfileArn"),
	UserProfileName: jsii.String("userProfileName"),
}
```

## Properties

- `domainId`: string (required) — The DomainId of the UserProfile resource.

- `userProfileArn`: string (required) — The ARN of the UserProfile resource.

- `userProfileName`: string (required) — The UserProfileName of the UserProfile resource.
