WorkflowAttributes

class aws_cdk.aws_imagebuilder_alpha.WorkflowAttributes(*, workflow_arn=None, workflow_name=None, workflow_type=None, workflow_version=None)

Bases: object

(experimental) Properties for an EC2 Image Builder Workflow.

Parameters:
  • workflow_arn (Optional[str]) – (experimental) The ARN of the workflow. Default: - the ARN is automatically constructed if a workflowName and workflowType is provided, otherwise a workflowArn is required

  • workflow_name (Optional[str]) – (experimental) The name of the workflow. Default: - the name is automatically constructed if a workflowArn is provided, otherwise a workflowName is required

  • workflow_type (Optional[WorkflowType]) – (experimental) The type of the workflow. Default: - the type is automatically constructed if a workflowArn is provided, otherwise a workflowType is required

  • workflow_version (Optional[str]) – (experimental) The version of the workflow. Default: x.x.x

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha

workflow_attributes = imagebuilder_alpha.WorkflowAttributes(
    workflow_arn="workflowArn",
    workflow_name="workflowName",
    workflow_type=imagebuilder_alpha.WorkflowType.BUILD,
    workflow_version="workflowVersion"
)

Attributes

workflow_arn

(experimental) The ARN of the workflow.

Default:

  • the ARN is automatically constructed if a workflowName and workflowType is provided, otherwise a

workflowArn is required

Stability:

experimental

workflow_name

(experimental) The name of the workflow.

Default:
  • the name is automatically constructed if a workflowArn is provided, otherwise a workflowName is required

Stability:

experimental

workflow_type

(experimental) The type of the workflow.

Default:
  • the type is automatically constructed if a workflowArn is provided, otherwise a workflowType is required

Stability:

experimental

workflow_version

(experimental) The version of the workflow.

Default:

x.x.x

Stability:

experimental