sequence_stores
Creates, updates, deletes or gets a sequence_store resource or lists sequence_stores in a region
Overview
| Name | sequence_stores |
| Type | Resource |
| Description | Resource Type definition for AWS::Omics::SequenceStore |
| Id | awscc.omics.sequence_stores |
Fields
| Name | Datatype | Description |
|---|---|---|
access_log_location | string | Location of the access logs. |
arn | string | The store's ARN. |
creation_time | string | When the store was created. |
description | string | A description for the store. |
e_tag_algorithm_family | string | |
fallback_location | string | An S3 location that is used to store files that have failed a direct upload. |
name | string | A name for the store. |
propagated_set_level_tags | array | The tags keys to propagate to the S3 objects associated with read sets in the sequence store. |
s3_access_point_arn | string | This is ARN of the access point associated with the S3 bucket storing read sets. |
s3_access_policy | object | The resource policy that controls S3 access on the store |
s3_uri | string | The S3 URI of the sequence store. |
sequence_store_id | string | |
sse_config | object | |
status | string | |
status_message | string | The status message of the sequence store. |
tags | object | A map of resource tags |
update_time | string | The last-updated time of the sequence store. |
region | string | AWS region. |
For more information, see AWS::Omics::SequenceStore.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | Name, 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 properties from an individual sequence_store.
SELECT
region,
access_log_location,
arn,
creation_time,
description,
e_tag_algorithm_family,
fallback_location,
name,
propagated_set_level_tags,
s3_access_point_arn,
s3_access_policy,
s3_uri,
sequence_store_id,
sse_config,
status,
status_message,
tags,
update_time
FROM awscc.omics.sequence_stores
WHERE region = 'us-east-1' AND data__Identifier = '<SequenceStoreId>';
INSERT example
Use the following StackQL query and manifest file to create a new sequence_store resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.omics.sequence_stores (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.omics.sequence_stores (
AccessLogLocation,
Description,
ETagAlgorithmFamily,
FallbackLocation,
Name,
PropagatedSetLevelTags,
S3AccessPolicy,
SseConfig,
Tags,
region
)
SELECT
'{{ AccessLogLocation }}',
'{{ Description }}',
'{{ ETagAlgorithmFamily }}',
'{{ FallbackLocation }}',
'{{ Name }}',
'{{ PropagatedSetLevelTags }}',
'{{ S3AccessPolicy }}',
'{{ SseConfig }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: sequence_store
props:
- name: AccessLogLocation
value: '{{ AccessLogLocation }}'
- name: Description
value: '{{ Description }}'
- name: ETagAlgorithmFamily
value: '{{ ETagAlgorithmFamily }}'
- name: FallbackLocation
value: '{{ FallbackLocation }}'
- name: Name
value: '{{ Name }}'
- name: PropagatedSetLevelTags
value:
- '{{ PropagatedSetLevelTags[0] }}'
- name: S3AccessPolicy
value: {}
- name: SseConfig
value:
Type: '{{ Type }}'
KeyArn: '{{ KeyArn }}'
- name: Tags
value: {}
DELETE example
/*+ delete */
DELETE FROM awscc.omics.sequence_stores
WHERE data__Identifier = '<SequenceStoreId>'
AND region = 'us-east-1';
Permissions
To operate on the sequence_stores resource, the following permissions are required:
Create
omics:CreateSequenceStore,
omics:GetSequenceStore,
omics:GetS3AccessPolicy,
omics:PutS3AccessPolicy,
omics:ListTagsForResource,
omics:TagResource,
kms:DescribeKey
Read
omics:GetS3AccessPolicy,
omics:GetSequenceStore,
omics:ListTagsForResource
Update
omics:UpdateSequenceStore,
omics:GetSequenceStore,
omics:TagResource,
omics:UntagResource,
omics:ListTagsForResource,
omics:GetS3AccessPolicy,
omics:DeleteS3AccessPolicy,
omics:PutS3AccessPolicy
Delete
omics:DeleteSequenceStore
List
omics:ListSequenceStores