Class CfnWorkflow

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:10.243Z") @Stability(Stable) public class CfnWorkflow extends CfnResource implements IInspectable, ITaggable
Creates a 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.omics.*;
 CfnWorkflow cfnWorkflow = CfnWorkflow.Builder.create(this, "MyCfnWorkflow")
         .accelerators("accelerators")
         .definitionUri("definitionUri")
         .description("description")
         .engine("engine")
         .main("main")
         .name("name")
         .parameterTemplate(Map.of(
                 "parameterTemplateKey", WorkflowParameterProperty.builder()
                         .description("description")
                         .optional(false)
                         .build()))
         .storageCapacity(123)
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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, @Nullable 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.
    • CfnWorkflow

      @Stability(Stable) public CfnWorkflow(@NotNull software.constructs.Construct scope, @NotNull 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.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN for the workflow.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      When the workflow was created.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The workflow's ID.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The workflow's status.
    • getAttrType

      @Stability(Stable) @NotNull public String getAttrType()
      The workflow's type.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAccelerators

      @Stability(Stable) @Nullable public String getAccelerators()
    • setAccelerators

      @Stability(Stable) public void setAccelerators(@Nullable String value)
    • getDefinitionUri

      @Stability(Stable) @Nullable public String getDefinitionUri()
      The URI of a definition for the workflow.
    • setDefinitionUri

      @Stability(Stable) public void setDefinitionUri(@Nullable String value)
      The URI of a definition for the workflow.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The parameter's description.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The parameter's description.
    • getEngine

      @Stability(Stable) @Nullable public String getEngine()
      An engine for the workflow.
    • setEngine

      @Stability(Stable) public void setEngine(@Nullable String value)
      An engine for the workflow.
    • getMain

      @Stability(Stable) @Nullable public String getMain()
      The path of the main definition file for the workflow.
    • setMain

      @Stability(Stable) public void setMain(@Nullable String value)
      The path of the main definition file for the workflow.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The workflow's name.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The workflow's name.
    • getParameterTemplate

      @Stability(Stable) @Nullable public Object getParameterTemplate()
      The workflow's parameter template.
    • setParameterTemplate

      @Stability(Stable) public void setParameterTemplate(@Nullable IResolvable value)
      The workflow's parameter template.
    • setParameterTemplate

      @Stability(Stable) public void setParameterTemplate(@Nullable Map<String,Object> value)
      The workflow's parameter template.
    • getStorageCapacity

      @Stability(Stable) @Nullable public Number getStorageCapacity()
      The default storage capacity for the workflow runs, in gibibytes.
    • setStorageCapacity

      @Stability(Stable) public void setStorageCapacity(@Nullable Number value)
      The default storage capacity for the workflow runs, in gibibytes.
    • getTagsRaw

      @Stability(Stable) @Nullable public Map<String,String> getTagsRaw()
      Tags for the workflow.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable Map<String,String> value)
      Tags for the workflow.