# AppReference

A reference to a App 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 appReference: interfaces_sagemaker.AppReference = {
  appArn: 'appArn',
  appName: 'appName',
  appType: 'appType',
  domainId: 'domainId',
  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

app_reference = interfaces_sagemaker.AppReference(
    app_arn="appArn",
    app_name="appName",
    app_type="appType",
    domain_id="domainId",
    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.*;

AppReference appReference = AppReference.builder()
        .appArn("appArn")
        .appName("appName")
        .appType("appType")
        .domainId("domainId")
        .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 appReference = new AppReference {
    AppArn = "appArn",
    AppName = "appName",
    AppType = "appType",
    DomainId = "domainId",
    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"

appReference := &AppReference{
	AppArn: jsii.String("appArn"),
	AppName: jsii.String("appName"),
	AppType: jsii.String("appType"),
	DomainId: jsii.String("domainId"),
	UserProfileName: jsii.String("userProfileName"),
}
```

## Properties

- `appArn`: string (required) — The ARN of the App resource.

- `appName`: string (required) — The AppName of the App resource.

- `appType`: string (required) — The AppType of the App resource.

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

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