# PipelineStep

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

Represents a step in the deployment pipeline.

## Definition

```go
type PipelineStep interface{}
```

## Properties

- `DependsOnSteps`: `*List[string]` `get` -- Gets or initializes the list of step names that this step depends on.
- `Description`: `*string` `get` -- Gets or initializes the description of the step.
- `Name`: `string` `get` -- Gets or initializes the unique name of the step.
- `RequiredBySteps`: `*List[string]` `get` -- Gets or initializes the list of step names that require this step to complete before they can finish. This is used internally during pipeline construction and is converted to DependsOn relationships.
- `Tags`: `*List[string]` `get` -- Gets or initializes the list of tags that categorize this step.

## Methods

- [AddTag](/reference/api/go/aspire.hosting/pipelinestep/addtag.md) -- `method` -- Adds a tag to the step.
  ```go
  AddTag(tag string) error
  ```
- [DependsOn](/reference/api/go/aspire.hosting/pipelinestep/dependson.md) -- `method` -- Adds a dependency on another step.
  ```go
  DependsOn(stepName string) error
  ```
- [RequiredBy](/reference/api/go/aspire.hosting/pipelinestep/requiredby.md) -- `method` -- Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
  ```go
  RequiredBy(stepName string) error
  ```
