# PipelineContext

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

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

## Definition

```typescript
interface PipelineContext {
  cancellationToken: cancellationToken;
  readonly executionContext: DistributedApplicationExecutionContext;
  readonly logger: ILogger;
  readonly model: DistributedApplicationModel;
  readonly services: IServiceProvider;
  readonly summary: PipelineSummary;
}
```

## Properties

- `cancellationToken`: `cancellationToken` `get - set` -- Gets the cancellation token for the pipeline operation.
- `executionContext`: [DistributedApplicationExecutionContext](/reference/api/typescript/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the execution context for the distributed application.
- `logger`: `ILogger` `get` -- Gets the logger for pipeline operations.
- `model`: [DistributedApplicationModel](/reference/api/typescript/aspire.hosting/distributedapplicationmodel.md) `get` -- Gets the distributed application model to be deployed.
- `services`: `IServiceProvider` `get` -- Gets the service provider for dependency resolution.
- `summary`: [PipelineSummary](/reference/api/typescript/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.
