# NextJsAppResource Properties

- Package: [Aspire.Hosting.JavaScript](/reference/api/csharp/aspire.hosting.javascript.md)
- Type: [NextJsAppResource](/reference/api/csharp/aspire.hosting.javascript/nextjsappresource.md)
- Kind: `Properties`
- Members: `1`

Represents a Next.js application resource.

<a id="resourcetypedisplayname"></a>

## ResourceTypeDisplayName

- Name: `ResourceTypeDisplayName`
- Modifiers: `override` `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.JavaScript/NextJsAppResource.cs#L17)

Gets the default human-readable name of this resource's type.

```csharp
public override string ResourceTypeDisplayName { get; }
```

## Remarks

Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use `ResourceBuilderExtensions.WithResourceTypeDisplayName` to override the label for an instance.
