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

Configuration details for a workflow.

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';

declare const workflow: imagebuilder_alpha.Workflow;
declare const workflowParameterValue: imagebuilder_alpha.WorkflowParameterValue;
const workflowConfiguration: imagebuilder_alpha.WorkflowConfiguration = {
  workflow: workflow,

  // the properties below are optional
  onFailure: imagebuilder_alpha.WorkflowOnFailure.ABORT,
  parallelGroup: 'parallelGroup',
  parameters: {
    parametersKey: workflowParameterValue,
  },
};
```

## Properties

- `onFailure`: [WorkflowOnFailure](/cdk/api/v2/docs/@aws-cdk_aws-imagebuilder-alpha.WorkflowOnFailure.html) = WorkflowOnFailure.ABORT — The action to take if the workflow fails.

- `parallelGroup`: string = None — The named parallel group to include this workflow in.

  Workflows in the same parallel group run in parallel of each
  other.

- `parameters`: { [key: string]: [WorkflowParameterValue](/cdk/api/v2/docs/@aws-cdk_aws-imagebuilder-alpha.WorkflowParameterValue.html) } — The parameters to pass to the workflow at execution time.

  **Default:** none if the workflow has no parameters, otherwise the default parameter values are used

- `workflow`: [IWorkflow](/cdk/api/v2/docs/@aws-cdk_aws-imagebuilder-alpha.IWorkflow.html) (required) — The workflow to execute in the image build.
