# PipelineStepContext

- 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 for a specific pipeline step execution.

## Remarks

This context combines the shared pipeline context with a step-specific publishing step,
allowing each step to track its own tasks and completion state independently.

## Definition

```go
type PipelineStepContext interface{}
```

## Properties

- `CancellationToken`: `*CancellationToken` `get` -- 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 that writes to both the pipeline logger and the step logger.
- `Model`: [`DistributedApplicationModel`](/reference/api/go/aspire.hosting/distributedapplicationmodel.md) `get` -- Gets the distributed application model to be deployed.
- `PipelineContext`: [`PipelineContext`](/reference/api/go/aspire.hosting/pipelinecontext.md) `get` -- Gets the pipeline context shared across all steps.
- `ReportingStep`: [`ReportingStep`](/reference/api/go/aspire.hosting/reportingstep.md) `get` -- Gets the publishing step associated with this specific step execution.
- `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.
