# HttpsEndpointUpdateCallbackContext

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

Context provided to the callback of `SubscribeHttpsEndpointsUpdate``1` when an HTTPS certificate is determined to be available for the resource.

## Definition

```typescript
interface HttpsEndpointUpdateCallbackContext {
  readonly cancellationToken: cancellationToken;
  readonly model: DistributedApplicationModel;
  readonly resource: IResource;
  readonly services: IServiceProvider;
}
```

## Properties

- `cancellationToken`: `cancellationToken` `get` -- Gets the `CancellationToken` for the operation.
- `model`: [DistributedApplicationModel](/reference/api/typescript/aspire.hosting/distributedapplicationmodel.md) `get` -- Gets the `DistributedApplicationModel` instance.
- `resource`: [IResource](/reference/api/typescript/aspire.hosting/iresource.md) `get` -- Gets the `IResource` that is being configured for HTTPS.
- `services`: `IServiceProvider` `get` -- Gets the `IServiceProvider` instance from the application.
