# ResourceUrlsCallbackContext

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

Represents a callback context for resource URLs.

## Definition

```go
type ResourceUrlsCallbackContext interface{}
```

## Properties

- `ExecutionContext`: [`DistributedApplicationExecutionContext`](/reference/api/go/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the execution context associated with this invocation of the AppHost.
- `Log`: [`LogFacade`](/reference/api/go/aspire.hosting/logfacade.md) `get` -- Gets the logger facade used by polyglot callbacks.
- `Resource`: [`Resource`](/reference/api/go/aspire.hosting/resource.md) `get` -- Gets the resource this the URLs are associated with.
- `Urls`: [`ResourceUrlsEditor`](/reference/api/go/aspire.hosting/resourceurlseditor.md) `get` -- Gets the editor used to manipulate displayed URLs in polyglot callbacks.

## Methods

- [GetEndpoint](/reference/api/go/aspire.hosting/resourceurlscallbackcontext/getendpoint.md) -- `method` -- Gets an endpoint reference from the associated resource
  ```go
  GetEndpoint(name string) EndpointReference
  ```
