Class CfnWorkflowPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.omics.CfnWorkflowPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:02.010Z")
@Stability(Stable)
public class CfnWorkflowPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a private workflow. Before you create a private workflow, you must create and configure these required resources:.
- Workflow definition file: A workflow definition file written in WDL, Nextflow, or CWL. The workflow definition specifies the inputs and outputs for runs that use the workflow. It also includes specifications for the runs and run tasks for your workflow, including compute and memory requirements. The workflow definition file must be in
.zipformat. For more information, see Workflow definition files in AWS HealthOmics. - You can use Amazon Q CLI to build and validate your workflow definition files in WDL, Nextflow, and CWL. For more information, see Example prompts for Amazon Q CLI and the AWS HealthOmics Agentic generative AI tutorial on GitHub.
- (Optional) Parameter template file: A parameter template file written in JSON. Create the file to define the run parameters, or AWS HealthOmics generates the parameter template for you. For more information, see Parameter template files for HealthOmics workflows .
- ECR container images: Create container images for the workflow in a private ECR repository, or synchronize images from a supported upstream registry with your Amazon ECR private repository.
- (Optional) Sentieon licenses: Request a Sentieon license to use the Sentieon software in private workflows.
For more information, see Creating or updating a private workflow 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.cfnpropertymixins.services.omics.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnWorkflowPropsMixin cfnWorkflowPropsMixin = CfnWorkflowPropsMixin.Builder.create(CfnWorkflowMixinProps.builder()
.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")
.name("name")
.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())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWorkflowPropsMixin.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.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Omics::Workflow.CfnWorkflowPropsMixin(CfnWorkflowMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Omics::Workflow.protectedCfnWorkflowPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkflowPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnWorkflowMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnWorkflowPropsMixin
protected CfnWorkflowPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkflowPropsMixin
protected CfnWorkflowPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkflowPropsMixin
@Stability(Stable) public CfnWorkflowPropsMixin(@NotNull CfnWorkflowMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Omics::Workflow.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnWorkflowPropsMixin
Create a mixin to apply properties toAWS::Omics::Workflow.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-