class AwsManagedWorkflow
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.AwsManagedWorkflow |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#AwsManagedWorkflow |
Java | software.amazon.awscdk.services.imagebuilder.alpha.AwsManagedWorkflow |
Python | aws_cdk.aws_imagebuilder_alpha.AwsManagedWorkflow |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป AwsManagedWorkflow |
Helper class for working with AWS-managed workflows.
Example
const containerWorkflowPipeline = new imagebuilder.ImagePipeline(this, 'ContainerWorkflowPipeline', {
recipe: exampleContainerRecipe,
workflows: [
{ workflow: imagebuilder.AwsManagedWorkflow.buildContainer(this, 'BuildContainer') },
{ workflow: imagebuilder.AwsManagedWorkflow.testContainer(this, 'TestContainer') },
{ workflow: imagebuilder.AwsManagedWorkflow.distributeContainer(this, 'DistributeContainer') }
]
});
Initializer
new AwsManagedWorkflow()
Methods
| Name | Description |
|---|---|
| static build | Imports the build-container AWS-managed workflow. |
| static build | Imports the build-image AWS-managed workflow. |
| static distribute | Imports the distribute-container 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 AWS-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 fromAwsManagedWorkflowAttributes(scope, id, attrs)
public static fromAwsManagedWorkflowAttributes(scope: Construct, id: string, attrs: AwsManagedWorkflowAttributes): IWorkflow
Parameters
- scope
Constructโ The construct scope. - id
stringโ Identifier of the construct. - attrs
Awsโ 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 (