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

Helper class for working with Amazon-managed workflows.

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

## Example

```ts
const containerWorkflowPipeline = new imagebuilder.ImagePipeline(this, 'ContainerWorkflowPipeline', {
  recipe: exampleContainerRecipe,
  workflows: [
    { workflow: imagebuilder.AmazonManagedWorkflow.buildContainer(this, 'BuildContainer') },
    { workflow: imagebuilder.AmazonManagedWorkflow.testContainer(this, 'TestContainer') },
    { workflow: imagebuilder.AmazonManagedWorkflow.distributeContainer(this, 'DistributeContainer') }
  ]
});
```

## Initializer

```ts
new AmazonManagedWorkflow()
```

## Methods

- `buildContainer(scope: Construct, id: string): IWorkflow` (static) — Imports the build-container Amazon-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.

- `buildImage(scope: Construct, id: string): IWorkflow` (static) — Imports the build-image AWS-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.

- `distributeContainer(scope: Construct, id: string): IWorkflow` (static) — Imports the distribute-container AWS-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.

- `distributeImage(scope: Construct, id: string): IWorkflow` (static) — Imports the distribute-image AWS-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.

- `fromAmazonManagedWorkflowAttributes(scope: Construct, id: string, attrs: AmazonManagedWorkflowAttributes): IWorkflow` (static) — Imports an AWS-managed workflow from its attributes.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `attrs` — The attributes of the AWS-managed workflow.

- `testContainer(scope: Construct, id: string): IWorkflow` (static) — Imports the test-container AWS-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.

- `testImage(scope: Construct, id: string): IWorkflow` (static) — Imports the test-image AWS-managed workflow.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
