# PipelineContext

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

Provides contextual information and services for the pipeline execution process of a distributed application.

## Definition

```go
type PipelineContext interface{}
```

## Properties

- `CancellationToken`: `*CancellationToken` `get/set` -- Gets the cancellation token for the pipeline operation.
- `ExecutionContext`: [`DistributedApplicationExecutionContext`](/reference/api/go/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the execution context for the distributed application.
- `Logger`: [`Logger`](/reference/api/go/aspire.hosting/logger.md) `get` -- Gets the logger for pipeline operations.
- `Model`: [`DistributedApplicationModel`](/reference/api/go/aspire.hosting/distributedapplicationmodel.md) `get` -- Gets the distributed application model to be deployed.
- `Services`: [`ServiceProvider`](/reference/api/go/aspire.hosting/serviceprovider.md) `get` -- Gets the service provider for dependency resolution.
- `Summary`: [`PipelineSummary`](/reference/api/go/aspire.hosting/pipelinesummary.md) `get` -- Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.
