Class CfnWorkflowVersion
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.omics.CfnWorkflowVersion
- All Implemented Interfaces:
IInspectable,ITaggableV2,IWorkflowVersionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.214Z")
@Stability(Stable)
public class CfnWorkflowVersion
extends CfnResource
implements IInspectable, IWorkflowVersionRef, ITaggableV2
Creates a new workflow version for the workflow that you specify with the
workflowId parameter.
When you create a new version of a workflow, you need to specify the configuration for the new version. It doesn't inherit any configuration values from the workflow.
Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version.
Don't include any personally identifiable information (PII) in the version name. Version names appear in the workflow version ARN.
For more information, see Workflow versioning in AWS HealthOmics in the AWS HealthOmics User Guide .
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.omics.*;
CfnWorkflowVersion cfnWorkflowVersion = CfnWorkflowVersion.Builder.create(this, "MyCfnWorkflowVersion")
.versionName("versionName")
.workflowId("workflowId")
// the properties below are optional
.accelerators("accelerators")
.containerRegistryMap(ContainerRegistryMapProperty.builder()
.imageMappings(List.of(ImageMappingProperty.builder()
.destinationImage("destinationImage")
.sourceImage("sourceImage")
.build()))
.registryMappings(List.of(RegistryMappingProperty.builder()
.ecrAccountId("ecrAccountId")
.ecrRepositoryPrefix("ecrRepositoryPrefix")
.upstreamRegistryUrl("upstreamRegistryUrl")
.upstreamRepositoryPrefix("upstreamRepositoryPrefix")
.build()))
.build())
.containerRegistryMapUri("containerRegistryMapUri")
.definitionRepository(DefinitionRepositoryProperty.builder()
.connectionArn("connectionArn")
.excludeFilePatterns(List.of("excludeFilePatterns"))
.fullRepositoryId("fullRepositoryId")
.sourceReference(SourceReferenceProperty.builder()
.type("type")
.value("value")
.build())
.build())
.definitionUri("definitionUri")
.description("description")
.engine("engine")
.main("main")
.parameterTemplate(Map.of(
"parameterTemplateKey", WorkflowParameterProperty.builder()
.description("description")
.optional(false)
.build()))
.parameterTemplatePath("parameterTemplatePath")
.readmeMarkdown("readmeMarkdown")
.readmePath("readmePath")
.readmeUri("readmeUri")
.storageCapacity(123)
.storageType("storageType")
.tags(Map.of(
"tagsKey", "tags"))
.workflowBucketOwnerId("workflowBucketOwnerId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWorkflowVersion.static interfaceUse a container registry map to specify mappings between the ECR private repository and one or more upstream registries.static interfaceContains information about a source code repository that hosts the workflow definition files.static interfaceSpecifies image mappings that workflow tasks can use.static interfaceIf you are using the ECR pull through cache feature, the registry mapping maps between the ECR repository and the upstream registry where container images are pulled and synchronized.static interfaceContains information about the source reference in a code repository, such as a branch, tag, or commit.static interfaceA workflow parameter.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.omics.IWorkflowVersionRef
IWorkflowVersionRef.Jsii$Default, IWorkflowVersionRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWorkflowVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkflowVersion(software.amazon.jsii.JsiiObjectRef objRef) CfnWorkflowVersion(software.constructs.Construct scope, String id, CfnWorkflowVersionProps props) -
Method Summary
Modifier and TypeMethodDescriptionARN of the workflow version.The creation time of the workflow version.The status of the workflow version.The type of the workflow version.Tag Manager which manages the tags for this resource.Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.Contains information about a source code repository that hosts the workflow definition files.The description of the workflow version.getMain()Returns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnWorkflowVersion.WorkflowParameterProperty>Path to the primary workflow parameter template JSON file inside the repository.The markdown content for the workflow's README file.The path to the workflow README markdown file within the repository.The S3 URI of the README file for the workflow.getTags()A map of resource tags.The name of the workflow version.The workflow's ID.A reference to a WorkflowVersion resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccelerators(String value) voidUse a container registry map to specify mappings between the ECR private repository and one or more upstream registries.voidUse a container registry map to specify mappings between the ECR private repository and one or more upstream registries.voidsetContainerRegistryMapUri(String value) voidContains information about a source code repository that hosts the workflow definition files.voidContains information about a source code repository that hosts the workflow definition files.voidsetDefinitionUri(String value) voidsetDescription(String value) The description of the workflow version.voidvoidvoidsetParameterTemplate(Map<String, Object> value) voidsetParameterTemplate(IResolvable value) voidsetParameterTemplatePath(String value) Path to the primary workflow parameter template JSON file inside the repository.voidsetReadmeMarkdown(String value) The markdown content for the workflow's README file.voidsetReadmePath(String value) The path to the workflow README markdown file within the repository.voidsetReadmeUri(String value) The S3 URI of the README file for the workflow.voidsetStorageCapacity(Number value) voidsetStorageType(String value) voidA map of resource tags.voidsetVersionName(String value) The name of the workflow version.voidsetWorkflowBucketOwnerId(String value) voidsetWorkflowId(String value) The workflow's ID.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWorkflowVersion
protected CfnWorkflowVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkflowVersion
protected CfnWorkflowVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkflowVersion
@Stability(Stable) public CfnWorkflowVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWorkflowVersionProps 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
ARN of the workflow version. -
getAttrCreationTime
The creation time of the workflow version. -
getAttrStatus
The status of the workflow version. -
getAttrType
The type of the workflow version. -
getAttrUuid
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getWorkflowVersionRef
A reference to a WorkflowVersion resource.- Specified by:
getWorkflowVersionRefin interfaceIWorkflowVersionRef
-
getVersionName
The name of the workflow version. -
setVersionName
The name of the workflow version. -
getWorkflowId
The workflow's ID. -
setWorkflowId
The workflow's ID. -
getAccelerators
-
setAccelerators
-
getContainerRegistryMap
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.Returns union: either
IResolvableorCfnWorkflowVersion.ContainerRegistryMapProperty -
setContainerRegistryMap
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. -
setContainerRegistryMap
@Stability(Stable) public void setContainerRegistryMap(@Nullable CfnWorkflowVersion.ContainerRegistryMapProperty value) Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. -
getContainerRegistryMapUri
-
setContainerRegistryMapUri
-
getDefinitionRepository
Contains information about a source code repository that hosts the workflow definition files.Returns union: either
IResolvableorCfnWorkflowVersion.DefinitionRepositoryProperty -
setDefinitionRepository
Contains information about a source code repository that hosts the workflow definition files. -
setDefinitionRepository
@Stability(Stable) public void setDefinitionRepository(@Nullable CfnWorkflowVersion.DefinitionRepositoryProperty value) Contains information about a source code repository that hosts the workflow definition files. -
getDefinitionUri
-
setDefinitionUri
-
getDescription
The description of the workflow version. -
setDescription
The description of the workflow version. -
getEngine
-
setEngine
-
getMain
-
setMain
-
getParameterTemplate
Returns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnWorkflowVersion.WorkflowParameterProperty> -
setParameterTemplate
-
setParameterTemplate
-
getParameterTemplatePath
Path to the primary workflow parameter template JSON file inside the repository. -
setParameterTemplatePath
Path to the primary workflow parameter template JSON file inside the repository. -
getReadmeMarkdown
The markdown content for the workflow's README file. -
setReadmeMarkdown
The markdown content for the workflow's README file. -
getReadmePath
The path to the workflow README markdown file within the repository. -
setReadmePath
The path to the workflow README markdown file within the repository. -
getReadmeUri
The S3 URI of the README file for the workflow. -
setReadmeUri
The S3 URI of the README file for the workflow. -
getStorageCapacity
-
setStorageCapacity
-
getStorageType
-
setStorageType
-
getTags
A map of resource tags. -
setTags
A map of resource tags. -
getWorkflowBucketOwnerId
-
setWorkflowBucketOwnerId
-