Class CfnWorkflow

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.547Z") @Stability(Stable) public class CfnWorkflow extends CfnResource implements IInspectable
A CloudFormation AWS::Omics::Workflow.

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")
         .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();
 
  • 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 Construct scope, @NotNull String id, @Nullable CfnWorkflowProps props)
      Create a new AWS::Omics::Workflow.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnWorkflow

      @Stability(Stable) public CfnWorkflow(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::Omics::Workflow.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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()
      Tags for the workflow.
    • 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()
      A storage capacity for the workflow in gigabytes.
    • setStorageCapacity

      @Stability(Stable) public void setStorageCapacity(@Nullable Number value)
      A storage capacity for the workflow in gigabytes.