# EndpointReferenceExpression

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents a property expression for an endpoint reference.

## Definition

```typescript
interface EndpointReferenceExpression
  extends IExpressionValue,
    IManifestExpressionProvider,
    IValueProvider,
    IValueWithReferences {
  readonly endpoint: EndpointReference;
  readonly property: EndpointProperty;
  readonly valueExpression: string;
}
```

## Properties

- `endpoint`: [EndpointReference](/reference/api/typescript/aspire.hosting/endpointreference.md) `get` -- Gets the `EndpointReference`.
- `property`: [EndpointProperty](/reference/api/typescript/aspire.hosting/endpointproperty.md) `get` -- Gets the `EndpointProperty` for the property expression.
- `valueExpression`: `string` `get` -- Gets the expression of the property of the endpoint.
