Interface WorkflowAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
WorkflowAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:50.102Z") @Stability(Experimental) public interface WorkflowAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for an EC2 Image Builder Workflow.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.imagebuilder.alpha.*;
 WorkflowAttributes workflowAttributes = WorkflowAttributes.builder()
         .workflowArn("workflowArn")
         .workflowName("workflowName")
         .workflowType(WorkflowType.BUILD)
         .workflowVersion("workflowVersion")
         .build();
 
  • Method Details

    • getWorkflowArn

      @Stability(Experimental) @Nullable default String getWorkflowArn()
      (experimental) The ARN of the workflow.

      Default: - the ARN is automatically constructed if a workflowName and workflowType is provided, otherwise a workflowArn is required

    • getWorkflowName

      @Stability(Experimental) @Nullable default String getWorkflowName()
      (experimental) The name of the workflow.

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

    • getWorkflowType

      @Stability(Experimental) @Nullable default WorkflowType getWorkflowType()
      (experimental) The type of the workflow.

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

    • getWorkflowVersion

      @Stability(Experimental) @Nullable default String getWorkflowVersion()
      (experimental) The version of the workflow.

      Default: x.x.x

    • builder

      @Stability(Experimental) static WorkflowAttributes.Builder builder()
      Returns:
      a WorkflowAttributes.Builder of WorkflowAttributes