# UserContextProperty

Information about the user who created or modified a SageMaker resource.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 sagemaker } from 'aws-cdk-lib';
const userContextProperty: sagemaker.CfnModelCard.UserContextProperty = {
  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 import aws_sagemaker as sagemaker

user_context_property = sagemaker.CfnModelCard.UserContextProperty(
    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.services.sagemaker.*;

UserContextProperty userContextProperty = UserContextProperty.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.AWS.Sagemaker;

var userContextProperty = new UserContextProperty {
    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"

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

## Properties

- `domainId`: string = "UnsetValue" — The domain associated with the user.

- `userProfileArn`: string = "UnsetValue" — The Amazon Resource Name (ARN) of the user's profile.

- `userProfileName`: string = "UnsetValue" — The name of the user's profile.
