Class CfnWorkflow
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.imagebuilder.CfnWorkflow
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IWorkflowRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:07.460Z")
@Stability(Stable)
public class CfnWorkflow
extends CfnResource
implements IInspectable, IWorkflowRef, ITaggableV2
Create a new workflow or a new version of an existing 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.*;
CfnWorkflow cfnWorkflow = CfnWorkflow.Builder.create(this, "MyCfnWorkflow")
.name("name")
.type("type")
.version("version")
// the properties below are optional
.changeDescription("changeDescription")
.data("data")
.description("description")
.kmsKeyId("kmsKeyId")
.tags(Map.of(
"tagsKey", "tags"))
.uri("uri")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWorkflow.static interfaceThe latest version references of the workflow.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.imagebuilder.IWorkflowRef
IWorkflowRef.Jsii$Default, IWorkflowRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWorkflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkflow(software.amazon.jsii.JsiiObjectRef objRef) CfnWorkflow(software.constructs.Construct scope, String id, CfnWorkflowProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the workflow resource.The latest version references of the workflow.The Amazon Resource Name (ARN) of the workflow resource.The latest version ARN of the created workflow, with the same major version.The latest version ARN of the created workflow, with the same minor version.The latest version ARN of the created workflow, with the same patch version.Tag Manager which manages the tags for this resource.Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.getData()Contains the UTF-8 encoded YAML document content for the workflow.Describes the workflow.The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource.getName()The name of the workflow to create.getTags()Tags that apply to the workflow resource.getType()The phase in the image build process for which the workflow resource is responsible.getUri()Theuriof a YAML component document file.The semantic version of this workflow resource.A reference to a Workflow resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetChangeDescription(String value) Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.voidContains the UTF-8 encoded YAML document content for the workflow.voidsetDescription(String value) Describes the workflow.voidsetKmsKeyId(String value) The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource.voidThe name of the workflow to create.voidTags that apply to the workflow resource.voidThe phase in the image build process for which the workflow resource is responsible.voidTheuriof a YAML component document file.voidsetVersion(String value) The semantic version of this workflow resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWorkflow
protected CfnWorkflow(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkflow
protected CfnWorkflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkflow
@Stability(Stable) public CfnWorkflow(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWorkflowProps props) - 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the workflow resource. -
getAttrLatestVersion
The latest version references of the workflow. -
getAttrLatestVersionArn
The Amazon Resource Name (ARN) of the workflow resource. -
getAttrLatestVersionMajor
The latest version ARN of the created workflow, with the same major version. -
getAttrLatestVersionMinor
The latest version ARN of the created workflow, with the same minor version. -
getAttrLatestVersionPatch
The latest version ARN of the created workflow, with the same patch version. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getWorkflowRef
A reference to a Workflow resource.- Specified by:
getWorkflowRefin interfaceIWorkflowRef
-
getName
The name of the workflow to create. -
setName
The name of the workflow to create. -
getType
The phase in the image build process for which the workflow resource is responsible. -
setType
The phase in the image build process for which the workflow resource is responsible. -
getVersion
The semantic version of this workflow resource.The semantic version syntax adheres to the following rules.
-
setVersion
The semantic version of this workflow resource.The semantic version syntax adheres to the following rules.
-
getChangeDescription
Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow. -
setChangeDescription
Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow. -
getData
Contains the UTF-8 encoded YAML document content for the workflow. -
setData
Contains the UTF-8 encoded YAML document content for the workflow. -
getDescription
Describes the workflow. -
setDescription
Describes the workflow. -
getKmsKeyId
The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource. -
setKmsKeyId
The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource. -
getTags
Tags that apply to the workflow resource. -
setTags
Tags that apply to the workflow resource. -
getUri
Theuriof a YAML component document file. -
setUri
Theuriof a YAML component document file.
-