Class: AWSCDK::Omics::CfnWorkflowProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnWorkflowProps
- Defined in:
- omics/cfn_workflow_props.rb
Overview
Properties for defining a CfnWorkflow.
Instance Attribute Summary collapse
- #accelerators ⇒ String? readonly
-
#container_registry_map ⇒ AWSCDK::IResolvable, ...
readonly
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.
- #container_registry_map_uri ⇒ String? readonly
-
#definition_repository ⇒ AWSCDK::IResolvable, ...
readonly
Contains information about a source code repository that hosts the workflow definition files.
-
#definition_uri ⇒ String?
readonly
The URI of a definition for the workflow.
-
#description ⇒ String?
readonly
The parameter's description.
-
#engine ⇒ String?
readonly
An engine for the workflow.
-
#main ⇒ String?
readonly
The path of the main definition file for the workflow.
-
#name ⇒ String?
readonly
The workflow's name.
-
#parameter_template ⇒ AWSCDK::IResolvable, ...
readonly
The workflow's parameter template.
-
#parameter_template_path ⇒ String?
readonly
Path to the primary workflow parameter template JSON file inside the repository.
-
#readme_markdown ⇒ String?
readonly
The markdown content for the workflow's README file.
-
#readme_path ⇒ String?
readonly
The path to the workflow README markdown file within the repository.
-
#readme_uri ⇒ String?
readonly
The S3 URI of the README file for the workflow.
-
#storage_capacity ⇒ Numeric?
readonly
The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
- #storage_type ⇒ String? readonly
-
#tags ⇒ Hash{String => String}?
readonly
Tags for the workflow.
-
#workflow_bucket_owner_id ⇒ String?
readonly
Optional workflow bucket owner ID to verify the workflow bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(accelerators: nil, container_registry_map: nil, container_registry_map_uri: nil, definition_repository: nil, definition_uri: nil, description: nil, engine: nil, main: nil, name: nil, parameter_template: nil, parameter_template_path: nil, readme_markdown: nil, readme_path: nil, readme_uri: nil, storage_capacity: nil, storage_type: nil, tags: nil, workflow_bucket_owner_id: nil) ⇒ CfnWorkflowProps
constructor
A new instance of CfnWorkflowProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(accelerators: nil, container_registry_map: nil, container_registry_map_uri: nil, definition_repository: nil, definition_uri: nil, description: nil, engine: nil, main: nil, name: nil, parameter_template: nil, parameter_template_path: nil, readme_markdown: nil, readme_path: nil, readme_uri: nil, storage_capacity: nil, storage_type: nil, tags: nil, workflow_bucket_owner_id: nil) ⇒ CfnWorkflowProps
Returns a new instance of CfnWorkflowProps.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'omics/cfn_workflow_props.rb', line 27 def initialize(accelerators: nil, container_registry_map: nil, container_registry_map_uri: nil, definition_repository: nil, definition_uri: nil, description: nil, engine: nil, main: nil, name: nil, parameter_template: nil, parameter_template_path: nil, readme_markdown: nil, readme_path: nil, readme_uri: nil, storage_capacity: nil, storage_type: nil, tags: nil, workflow_bucket_owner_id: nil) @accelerators = accelerators Jsii::Type.check_type(@accelerators, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accelerators") unless @accelerators.nil? @container_registry_map = container_registry_map.is_a?(Hash) ? ::AWSCDK::Omics::CfnWorkflow::ContainerRegistryMapProperty.new(**container_registry_map.transform_keys(&:to_sym)) : container_registry_map Jsii::Type.check_type(@container_registry_map, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Xb3JrZmxvdy5Db250YWluZXJSZWdpc3RyeU1hcFByb3BlcnR5In1dfX0=")), "containerRegistryMap") unless @container_registry_map.nil? @container_registry_map_uri = container_registry_map_uri Jsii::Type.check_type(@container_registry_map_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "containerRegistryMapUri") unless @container_registry_map_uri.nil? @definition_repository = definition_repository.is_a?(Hash) ? ::AWSCDK::Omics::CfnWorkflow::DefinitionRepositoryProperty.new(**definition_repository.transform_keys(&:to_sym)) : definition_repository Jsii::Type.check_type(@definition_repository, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Xb3JrZmxvdy5EZWZpbml0aW9uUmVwb3NpdG9yeVByb3BlcnR5In1dfX0=")), "definitionRepository") unless @definition_repository.nil? @definition_uri = definition_uri Jsii::Type.check_type(@definition_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "definitionUri") unless @definition_uri.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @engine = engine Jsii::Type.check_type(@engine, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "engine") unless @engine.nil? @main = main Jsii::Type.check_type(@main, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "main") unless @main.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @parameter_template = parameter_template Jsii::Type.check_type(@parameter_template, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb21pY3MuQ2ZuV29ya2Zsb3cuV29ya2Zsb3dQYXJhbWV0ZXJQcm9wZXJ0eSJ9XX19LCJraW5kIjoibWFwIn19XX19")), "parameterTemplate") unless @parameter_template.nil? @parameter_template_path = parameter_template_path Jsii::Type.check_type(@parameter_template_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterTemplatePath") unless @parameter_template_path.nil? @readme_markdown = readme_markdown Jsii::Type.check_type(@readme_markdown, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "readmeMarkdown") unless @readme_markdown.nil? @readme_path = readme_path Jsii::Type.check_type(@readme_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "readmePath") unless @readme_path.nil? @readme_uri = readme_uri Jsii::Type.check_type(@readme_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "readmeUri") unless @readme_uri.nil? @storage_capacity = storage_capacity Jsii::Type.check_type(@storage_capacity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "storageCapacity") unless @storage_capacity.nil? @storage_type = storage_type Jsii::Type.check_type(@storage_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "storageType") unless @storage_type.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? @workflow_bucket_owner_id = workflow_bucket_owner_id Jsii::Type.check_type(@workflow_bucket_owner_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workflowBucketOwnerId") unless @workflow_bucket_owner_id.nil? end |
Instance Attribute Details
#accelerators ⇒ String? (readonly)
68 69 70 |
# File 'omics/cfn_workflow_props.rb', line 68 def accelerators @accelerators end |
#container_registry_map ⇒ AWSCDK::IResolvable, ... (readonly)
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.
For more information, see Container images in the AWS HealthOmics User Guide .
75 76 77 |
# File 'omics/cfn_workflow_props.rb', line 75 def container_registry_map @container_registry_map end |
#container_registry_map_uri ⇒ String? (readonly)
78 79 80 |
# File 'omics/cfn_workflow_props.rb', line 78 def container_registry_map_uri @container_registry_map_uri end |
#definition_repository ⇒ AWSCDK::IResolvable, ... (readonly)
Contains information about a source code repository that hosts the workflow definition files.
83 84 85 |
# File 'omics/cfn_workflow_props.rb', line 83 def definition_repository @definition_repository end |
#definition_uri ⇒ String? (readonly)
The URI of a definition for the workflow.
88 89 90 |
# File 'omics/cfn_workflow_props.rb', line 88 def definition_uri @definition_uri end |
#description ⇒ String? (readonly)
The parameter's description.
93 94 95 |
# File 'omics/cfn_workflow_props.rb', line 93 def description @description end |
#engine ⇒ String? (readonly)
An engine for the workflow.
98 99 100 |
# File 'omics/cfn_workflow_props.rb', line 98 def engine @engine end |
#main ⇒ String? (readonly)
The path of the main definition file for the workflow.
103 104 105 |
# File 'omics/cfn_workflow_props.rb', line 103 def main @main end |
#name ⇒ String? (readonly)
The workflow's name.
108 109 110 |
# File 'omics/cfn_workflow_props.rb', line 108 def name @name end |
#parameter_template ⇒ AWSCDK::IResolvable, ... (readonly)
The workflow's parameter template.
113 114 115 |
# File 'omics/cfn_workflow_props.rb', line 113 def parameter_template @parameter_template end |
#parameter_template_path ⇒ String? (readonly)
Path to the primary workflow parameter template JSON file inside the repository.
118 119 120 |
# File 'omics/cfn_workflow_props.rb', line 118 def parameter_template_path @parameter_template_path end |
#readme_markdown ⇒ String? (readonly)
The markdown content for the workflow's README file.
This provides documentation and usage information for users of the workflow.
125 126 127 |
# File 'omics/cfn_workflow_props.rb', line 125 def readme_markdown @readme_markdown end |
#readme_path ⇒ String? (readonly)
The path to the workflow README markdown file within the repository.
This file provides documentation and usage information for the workflow. If not specified, the README.md file from the root directory of the repository will be used.
132 133 134 |
# File 'omics/cfn_workflow_props.rb', line 132 def readme_path @readme_path end |
#readme_uri ⇒ String? (readonly)
The S3 URI of the README file for the workflow.
This file provides documentation and usage information for the workflow. The S3 URI must begin with s3://USER-OWNED-BUCKET/. The requester must have access to the S3 bucket and object. The max README content length is 500 KiB.
139 140 141 |
# File 'omics/cfn_workflow_props.rb', line 139 def readme_uri @readme_uri end |
#storage_capacity ⇒ Numeric? (readonly)
The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
The storage_capacity can be overwritten at run time. The storage capacity is not required for runs with a DYNAMIC storage type.
146 147 148 |
# File 'omics/cfn_workflow_props.rb', line 146 def storage_capacity @storage_capacity end |
#storage_type ⇒ String? (readonly)
149 150 151 |
# File 'omics/cfn_workflow_props.rb', line 149 def storage_type @storage_type end |
#tags ⇒ Hash{String => String}? (readonly)
Tags for the workflow.
154 155 156 |
# File 'omics/cfn_workflow_props.rb', line 154 def @tags end |
#workflow_bucket_owner_id ⇒ String? (readonly)
Optional workflow bucket owner ID to verify the workflow bucket.
159 160 161 |
# File 'omics/cfn_workflow_props.rb', line 159 def workflow_bucket_owner_id @workflow_bucket_owner_id end |
Class Method Details
.jsii_properties ⇒ Object
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'omics/cfn_workflow_props.rb', line 161 def self.jsii_properties { :accelerators => "accelerators", :container_registry_map => "containerRegistryMap", :container_registry_map_uri => "containerRegistryMapUri", :definition_repository => "definitionRepository", :definition_uri => "definitionUri", :description => "description", :engine => "engine", :main => "main", :name => "name", :parameter_template => "parameterTemplate", :parameter_template_path => "parameterTemplatePath", :readme_markdown => "readmeMarkdown", :readme_path => "readmePath", :readme_uri => "readmeUri", :storage_capacity => "storageCapacity", :storage_type => "storageType", :tags => "tags", :workflow_bucket_owner_id => "workflowBucketOwnerId", } end |
Instance Method Details
#to_jsii ⇒ Object
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'omics/cfn_workflow_props.rb', line 184 def to_jsii result = {} result.merge!({ "accelerators" => @accelerators, "containerRegistryMap" => @container_registry_map, "containerRegistryMapUri" => @container_registry_map_uri, "definitionRepository" => @definition_repository, "definitionUri" => @definition_uri, "description" => @description, "engine" => @engine, "main" => @main, "name" => @name, "parameterTemplate" => @parameter_template, "parameterTemplatePath" => @parameter_template_path, "readmeMarkdown" => @readme_markdown, "readmePath" => @readme_path, "readmeUri" => @readme_uri, "storageCapacity" => @storage_capacity, "storageType" => @storage_type, "tags" => @tags, "workflowBucketOwnerId" => @workflow_bucket_owner_id, }) result.compact end |