# PipelineStepFactoryContext

- 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 for creating pipeline steps from a {@ats-ref type:PipelineStepAnnotation}.

## Definition

```typescript
interface PipelineStepFactoryContext {
  readonly pipelineContext: PipelineContext;
  readonly resource: IResource;
}
```

## Properties

- `pipelineContext`: [PipelineContext](/reference/api/typescript/aspire.hosting/pipelinecontext.md) `get` -- Gets the pipeline context that has the model and other properties.
- `resource`: [IResource](/reference/api/typescript/aspire.hosting/iresource.md) `get` -- Gets the resource that this factory is associated with.
