Skip to main content

workflow_versions

Creates, updates, deletes or gets a workflow_version resource or lists workflow_versions in a region

Overview

Nameworkflow_versions
TypeResource
DescriptionDefinition of AWS::Omics::WorkflowVersion Resource Type.
Idawscc.omics.workflow_versions

Fields

NameDatatypeDescription
arnstring
workflow_idstring
version_namestring
creation_timestring
definition_uristring
descriptionstring
enginestring
mainstring
parameter_templateobject
statusstring
acceleratorsstring
storage_typestring
storage_capacitynumber
tagsobjectA map of resource tags
typestring
uuidstring
workflow_bucket_owner_idstring
parameter_template_pathstringPath to the primary workflow parameter template JSON file inside the repository
definition_repositoryobject
readme_pathstringThe 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.
readme_uristringThe 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.
readme_markdownstringThe markdown content for the workflow's README file. This provides documentation and usage information for users of the workflow.
regionstringAWS region.

For more information, see AWS::Omics::WorkflowVersion.

Methods

NameResourceAccessible byRequired Params
create_resourceworkflow_versionsINSERTWorkflowId, VersionName, region
delete_resourceworkflow_versionsDELETEIdentifier, region
update_resourceworkflow_versionsUPDATEIdentifier, PatchDocument, region
list_resourcesworkflow_versions_list_onlySELECTregion
get_resourceworkflow_versionsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual workflow_version.

SELECT
region,
arn,
workflow_id,
version_name,
creation_time,
definition_uri,
description,
engine,
main,
parameter_template,
status,
accelerators,
storage_type,
storage_capacity,
tags,
type,
uuid,
workflow_bucket_owner_id,
parameter_template_path,
definition_repository,
readme_path,
readme_uri,
readme_markdown
FROM awscc.omics.workflow_versions
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new workflow_version resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.omics.workflow_versions (
WorkflowId,
VersionName,
region
)
SELECT
'{{ workflow_id }}',
'{{ version_name }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a workflow_version resource, using stack-deploy.

/*+ update */
UPDATE awscc.omics.workflow_versions
SET PatchDocument = string('{{ {
"Description": description,
"StorageType": storage_type,
"StorageCapacity": storage_capacity,
"Tags": tags,
"readmeMarkdown": readme_markdown
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.omics.workflow_versions
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

To operate on the workflow_versions resource, the following permissions are required:

omics:CreateWorkflow,
omics:GetWorkflow,
omics:CreateWorkflowVersion,
omics:GetWorkflowVersion,
omics:TagResource,
s3:PutObject,
s3:GetObject,
s3:GetObjectAttributes,
s3:HeadObject,
s3:GetEncryptionConfiguration,
kms:Decrypt,
kms:GenerateDataKey,
kms:GenerateDataKeyPair,
kms:GenerateDataKeyPairWithoutPlaintext,
kms:GenerateDataKeyWithoutPlaintext,
codeconnections:UseConnection,
codeconnections:GetConnection,
codeconnections:GetHost