Class CfnWorkflow.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnWorkflow.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow>
- Enclosing class:
CfnWorkflow
@Stability(Stable)
public static final class CfnWorkflow.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow>
A fluent builder for
CfnWorkflow.-
Method Summary
Modifier and TypeMethodDescriptionbuild()changeDescription(String changeDescription) Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.static CfnWorkflow.BuilderContains the YAML document content for the workflow.description(String description) The description of the workflow.The KMS key identifier used to encrypt the workflow resource.The name of the workflow resource.The tags that apply to the workflow resource.Specifies the image creation stage that the workflow applies to.The uri of the workflow.The workflow resource version.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkflow.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkflow.Builder.
-
name
The name of the workflow resource.- Parameters:
name- The name of the workflow resource. This parameter is required.- Returns:
this- See Also:
-
type
Specifies the image creation stage that the workflow applies to.Image Builder currently supports build and test workflows.
- Parameters:
type- Specifies the image creation stage that the workflow applies to. This parameter is required.- Returns:
this- See Also:
-
version
The workflow resource version.Workflow resources are immutable. To make a change, you can clone a workflow or create a new version.
- Parameters:
version- The workflow resource version. This parameter is required.- Returns:
this- See Also:
-
changeDescription
Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.- Parameters:
changeDescription- Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow. This parameter is required.- Returns:
this- See Also:
-
data
Contains the YAML document content for the workflow.- Parameters:
data- Contains the YAML document content for the workflow. This parameter is required.- Returns:
this- See Also:
-
description
The description of the workflow.- Parameters:
description- The description of the workflow. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The KMS key identifier used to encrypt the workflow resource.- Parameters:
kmsKeyId- The KMS key identifier used to encrypt the workflow resource. This parameter is required.- Returns:
this- See Also:
-
tags
The tags that apply to the workflow resource.- Parameters:
tags- The tags that apply to the workflow resource. This parameter is required.- Returns:
this- See Also:
-
uri
The uri of the workflow.- Parameters:
uri- The uri of the workflow. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow>- Returns:
- a newly built instance of
CfnWorkflow.
-