variant_stores
Creates, updates, deletes or gets a variant_store
resource or lists variant_stores
in a region
Overview
Name | variant_stores |
Type | Resource |
Description | Definition of AWS::Omics::VariantStore Resource Type |
Id | aws.omics.variant_stores |
Fields
Name | Datatype | Description |
---|---|---|
creation_time | string | |
description | string | |
id | string | |
name | string | |
reference | object | |
sse_config | object | |
status | string | |
status_message | string | |
store_arn | string | |
store_size_bytes | number | |
tags | object | A map of resource tags |
update_time | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, Reference, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all variant_stores
in a region.
SELECT
region,
creation_time,
description,
id,
name,
reference,
sse_config,
status,
status_message,
store_arn,
store_size_bytes,
tags,
update_time
FROM aws.omics.variant_stores
WHERE region = 'us-east-1';
Gets all properties from an individual variant_store
.
SELECT
region,
creation_time,
description,
id,
name,
reference,
sse_config,
status,
status_message,
store_arn,
store_size_bytes,
tags,
update_time
FROM aws.omics.variant_stores
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';
INSERT
example
Use the following StackQL query and manifest file to create a new variant_store
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.omics.variant_stores (
Name,
Reference,
region
)
SELECT
'{{ Name }}',
'{{ Reference }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.omics.variant_stores (
Description,
Name,
Reference,
SseConfig,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ Name }}',
'{{ Reference }}',
'{{ SseConfig }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: variant_store
props:
- name: Description
value: '{{ Description }}'
- name: Name
value: '{{ Name }}'
- name: Reference
value:
ReferenceArn: '{{ ReferenceArn }}'
- name: SseConfig
value:
Type: '{{ Type }}'
KeyArn: '{{ KeyArn }}'
- name: Tags
value: {}
DELETE
example
/*+ delete */
DELETE FROM aws.omics.variant_stores
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';
Permissions
To operate on the variant_stores
resource, the following permissions are required:
Create
omics:CreateVariantStore,
omics:TagResource,
kms:DescribeKey,
kms:GenerateDataKey,
kms:CreateGrant,
ram:AcceptResourceShareInvitation,
ram:GetResourceShareInvitations,
omics:GetVariantStore
Read
omics:GetVariantStore
Update
omics:UpdateVariantStore,
omics:TagResource,
omics:UntagResource,
omics:ListTagsForResource,
omics:GetVariantStore
Delete
omics:DeleteVariantStore,
omics:ListVariantStores
List
omics:ListVariantStores