class AmazonManagedWorkflow
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.AmazonManagedWorkflow |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#AmazonManagedWorkflow |
Java | software.amazon.awscdk.services.imagebuilder.alpha.AmazonManagedWorkflow |
Python | aws_cdk.aws_imagebuilder_alpha.AmazonManagedWorkflow |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป AmazonManagedWorkflow |
Helper class for working with Amazon-managed workflows.
Example
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
new AmazonManagedWorkflow()
Methods
| Name | Description |
|---|---|
| static build | Imports the build-container Amazon-managed workflow. |
| static build | Imports the build-image AWS-managed workflow. |
| static distribute | Imports the distribute-container AWS-managed workflow. |
| static distribute | Imports the distribute-image AWS-managed workflow. |
| static from | Imports an AWS-managed workflow from its attributes. |
| static test | Imports the test-container AWS-managed workflow. |
| static test | Imports the test-image AWS-managed workflow. |
static buildContainer(scope, id)
public static buildContainer(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the build-container Amazon-managed workflow.
static buildImage(scope, id)
public static buildImage(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the build-image AWS-managed workflow.
static distributeContainer(scope, id)
public static distributeContainer(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the distribute-container AWS-managed workflow.
static distributeImage(scope, id)
public static distributeImage(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the distribute-image AWS-managed workflow.
static fromAmazonManagedWorkflowAttributes(scope, id, attrs)
public static fromAmazonManagedWorkflowAttributes(scope: Construct, id: string, attrs: AmazonManagedWorkflowAttributes): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct. - attrs
Amazonโ The attributes of the AWS-managed workflow.Managed Workflow Attributes
Returns
Imports an AWS-managed workflow from its attributes.
static testContainer(scope, id)
public static testContainer(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the test-container AWS-managed workflow.
static testImage(scope, id)
public static testImage(scope: Construct, id: string): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct.
Returns
Imports the test-image AWS-managed workflow.

.NET
Go
Java
Python
TypeScript (