# EnvironmentCallbackContext

- 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 environment variables associated with a publisher.

## Definition

```go
type EnvironmentCallbackContext interface{}
```

## Properties

- `Environment`: [`EnvironmentEditor`](/reference/api/go/aspire.hosting/environmenteditor.md) `get` -- Gets the editor used to set environment variables in polyglot callbacks.
- `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` -- The resource associated with this callback context.
