> **Experimental**
>
> `@aws-cdk/aws-imagebuilder-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ComponentDocumentPhase

The phase to run in a specific workflow in an image build, which define the steps to execute to customize or test the instance.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/component.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-imagebuilder-alpha/lib/component.ts#L222)

## Example

```ts
const phase: imagebuilder.ComponentDocumentPhase = {
  name: imagebuilder.ComponentPhaseName.BUILD,
  steps: [
    {
      name: 'configure-app',
      action: imagebuilder.ComponentAction.CREATE_FILE,
      inputs: imagebuilder.ComponentStepInputs.fromObject({
        path: '/etc/myapp/config.json',
        content: '{"env": "production"}'
      })
    }
  ]
};
```

## Properties

- `name`: [ComponentPhaseName](/cdk/api/v2/docs/@aws-cdk_aws-imagebuilder-alpha.ComponentPhaseName.html) (required) — The name of the phase.

- `steps`: [ComponentDocumentStep](/cdk/api/v2/docs/@aws-cdk_aws-imagebuilder-alpha.ComponentDocumentStep.html)[] (required) — The list of steps to execute to modify or test the build/test instance.
