interface WorkflowConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.WorkflowConfiguration |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#WorkflowConfiguration |
Java | software.amazon.awscdk.services.imagebuilder.alpha.WorkflowConfiguration |
Python | aws_cdk.aws_imagebuilder_alpha.WorkflowConfiguration |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป WorkflowConfiguration |
Configuration details for a workflow.
Example
// 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
| Name | Type | Description |
|---|---|---|
| workflow | IWorkflow | The workflow to execute in the image build. |
| on | Workflow | The action to take if the workflow fails. |
| parallel | string | The named parallel group to include this workflow in. |
| parameters? | { [string]: Workflow } | The parameters to pass to the workflow at execution time. |
workflow
Type:
IWorkflow
The workflow to execute in the image build.
onFailure?
Type:
Workflow
(optional, default: WorkflowOnFailure.ABORT)
The action to take if the workflow fails.
parallelGroup?
Type:
string
(optional, default: None)
The named parallel group to include this workflow in.
Workflows in the same parallel group run in parallel of each other.
parameters?
Type:
{ [string]: Workflow }
(optional, default: none if the workflow has no parameters, otherwise the default parameter values are used)
The parameters to pass to the workflow at execution time.

.NET
Go
Java
Python
TypeScript (