AwsManagedWorkflow
- class aws_cdk.aws_imagebuilder_alpha.AwsManagedWorkflow
Bases:
object(experimental) Helper class for working with AWS-managed workflows.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
container_workflow_pipeline = imagebuilder.ImagePipeline(self, "ContainerWorkflowPipeline", recipe=example_container_recipe, workflows=[imagebuilder.WorkflowConfiguration(workflow=imagebuilder.AwsManagedWorkflow.build_container(self, "BuildContainer")), imagebuilder.WorkflowConfiguration(workflow=imagebuilder.AwsManagedWorkflow.test_container(self, "TestContainer")), imagebuilder.WorkflowConfiguration(workflow=imagebuilder.AwsManagedWorkflow.distribute_container(self, "DistributeContainer")) ] )
- Stability:
experimental
Static Methods
- classmethod build_container(scope, id)
(experimental) Imports the build-container AWS-managed workflow.
- classmethod build_image(scope, id)
(experimental) Imports the build-image AWS-managed workflow.
- classmethod distribute_container(scope, id)
(experimental) Imports the distribute-container AWS-managed workflow.
- classmethod from_aws_managed_workflow_attributes(scope, id, *, workflow_name, workflow_type)
(experimental) Imports an AWS-managed workflow from its attributes.
- Parameters:
scope (
Construct) – The construct scope.id (
str) – Identifier of the construct.workflow_name (
str) – (experimental) The name of the AWS-managed workflow.workflow_type (
WorkflowType) – (experimental) The type of the AWS-managed workflow.
- Stability:
experimental
- Return type:
- classmethod test_container(scope, id)
(experimental) Imports the test-container AWS-managed workflow.