Skip to main content

workflows

Creates, updates, deletes or gets a workflow resource or lists workflows in a region

Overview

Nameworkflows
TypeResource
DescriptionDefinition of AWS::Omics::Workflow Resource Type
Idaws.omics.workflows

Fields

NameDatatypeDescription
arnstring
creation_timestring
definition_uristring
descriptionstring
enginestring
idstring
mainstring
namestring
parameter_templateobject
statusstring
acceleratorsstring
storage_capacitynumber
tagsobjectA map of resource tags
typestring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all workflows in a region.

SELECT
region,
arn,
creation_time,
definition_uri,
description,
engine,
id,
main,
name,
parameter_template,
status,
accelerators,
storage_capacity,
tags,
type
FROM aws.omics.workflows
WHERE region = 'us-east-1';

Gets all properties from an individual workflow.

SELECT
region,
arn,
creation_time,
definition_uri,
description,
engine,
id,
main,
name,
parameter_template,
status,
accelerators,
storage_capacity,
tags,
type
FROM aws.omics.workflows
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.omics.workflows (
DefinitionUri,
Description,
Engine,
Main,
Name,
ParameterTemplate,
Accelerators,
StorageCapacity,
Tags,
region
)
SELECT
'{{ DefinitionUri }}',
'{{ Description }}',
'{{ Engine }}',
'{{ Main }}',
'{{ Name }}',
'{{ ParameterTemplate }}',
'{{ Accelerators }}',
'{{ StorageCapacity }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.omics.workflows
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

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

Create

omics:CreateWorkflow,
omics:GetWorkflow,
omics:TagResource,
s3:PutObject,
s3:GetObject,
s3:GetObjectAttributes,
s3:HeadObject,
s3:GetEncryptionConfiguration,
kms:Decrypt,
kms:GenerateDataKey,
kms:GenerateDataKeyPair,
kms:GenerateDataKeyPairWithoutPlaintext,
kms:GenerateDataKeyWithoutPlaintext

Read

omics:GetWorkflow

Update

omics:UpdateWorkflow,
omics:GetWorkflow,
omics:TagResource,
omics:ListTagsForResource,
omics:UntagResource

Delete

omics:DeleteWorkflow,
omics:GetWorkflow

List

omics:ListWorkflows