# HttpsEndpointUpdateCallbackContext

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

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

## Definition

```go
type HttpsEndpointUpdateCallbackContext interface{}
```

## Properties

- `CancellationToken`: `*CancellationToken` `get` -- Gets the `CancellationToken` for the operation.
- `Model`: [`DistributedApplicationModel`](/reference/api/go/aspire.hosting/distributedapplicationmodel.md) `get` -- Gets the `DistributedApplicationModel` instance.
- `Resource`: [`Resource`](/reference/api/go/aspire.hosting/resource.md) `get` -- Gets the `IResource` that is being configured for HTTPS.
- `Services`: [`ServiceProvider`](/reference/api/go/aspire.hosting/serviceprovider.md) `get` -- Gets the `IServiceProvider` instance from the application.
