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.113.0 (build fc68b25)",
date="2025-09-25T11:29:12.725Z")
@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 class
A fluent builder forCfnWorkflowVersion
.static interface
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.static interface
Contains information about a source code repository that hosts the workflow definition files.static interface
Specifies image mappings that workflow tasks can use.static interface
If 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 interface
Contains information about the source reference in a code repository, such as a branch, tag, or commit.static interface
A workflow parameter.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.omics.IWorkflowVersionRef
IWorkflowVersionRef.Jsii$Default, IWorkflowVersionRef.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnWorkflowVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnWorkflowVersion
(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()
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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccelerators
(String value) void
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.void
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.void
setContainerRegistryMapUri
(String value) void
Contains information about a source code repository that hosts the workflow definition files.void
Contains information about a source code repository that hosts the workflow definition files.void
setDefinitionUri
(String value) void
setDescription
(String value) The description of the workflow version.void
void
void
setParameterTemplate
(Map<String, Object> value) void
setParameterTemplate
(IResolvable value) void
setParameterTemplatePath
(String value) Path to the primary workflow parameter template JSON file inside the repository.void
setReadmeMarkdown
(String value) The markdown content for the workflow's README file.void
setReadmePath
(String value) The path to the workflow README markdown file within the repository.void
setReadmeUri
(String value) The S3 URI of the README file for the workflow.void
setStorageCapacity
(Number value) void
setStorageType
(String value) void
A map of resource tags.void
setVersionName
(String value) The name of the workflow version.void
setWorkflowBucketOwnerId
(String value) void
setWorkflowId
(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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getWorkflowVersionRef
A reference to a WorkflowVersion resource.- Specified by:
getWorkflowVersionRef
in 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. -
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. -
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
-
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
-