UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

1,465 lines 147 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Omics = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [omics](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awshealthomics.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Omics extends shared_1.PolicyStatement { /** * Grants permission to abort multipart read set uploads * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_AbortMultipartReadSetUpload.html */ toAbortMultipartReadSetUpload() { return this.to('AbortMultipartReadSetUpload'); } /** * Grants permission to accept a share * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_AcceptShare.html */ toAcceptShare() { return this.to('AcceptShare'); } /** * Grants permission to batch delete Read Sets in the given Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_BatchDeleteReadSet.html */ toBatchDeleteReadSet() { return this.to('BatchDeleteReadSet'); } /** * Grants permission to cancel an Annotation Import Job * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CancelAnnotationImportJob.html */ toCancelAnnotationImportJob() { return this.to('CancelAnnotationImportJob'); } /** * Grants permission to cancel a workflow run and stop all workflow tasks * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CancelRun.html */ toCancelRun() { return this.to('CancelRun'); } /** * Grants permission to cancel a batch of workflow runs * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CancelRunBatch.html */ toCancelRunBatch() { return this.to('CancelRunBatch'); } /** * Grants permission to cancel a Variant Import Job * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CancelVariantImportJob.html */ toCancelVariantImportJob() { return this.to('CancelVariantImportJob'); } /** * Grants permission to complete a multipart read set upload * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CompleteMultipartReadSetUpload.html */ toCompleteMultipartReadSetUpload() { return this.to('CompleteMultipartReadSetUpload'); } /** * Grants permission to create an Annotation Store * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateAnnotationStore.html */ toCreateAnnotationStore() { return this.to('CreateAnnotationStore'); } /** * Grants permission to create a Version in an Annotation Store * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateAnnotationStoreVersion.html */ toCreateAnnotationStoreVersion() { return this.to('CreateAnnotationStoreVersion'); } /** * Grants permission to create a new configuration * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * Dependent actions: * - ec2:DescribeSecurityGroups * - ec2:DescribeSubnets * - iam:CreateServiceLinkedRole * * https://docs.aws.amazon.com/omics/latest/api/API_CreateConfiguration.html */ toCreateConfiguration() { return this.to('CreateConfiguration'); } /** * Grants permission to create a multipart read set upload * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CreateMultipartReadSetUpload.html */ toCreateMultipartReadSetUpload() { return this.to('CreateMultipartReadSetUpload'); } /** * Grants permission to create a Reference Store * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateReferenceStore.html */ toCreateReferenceStore() { return this.to('CreateReferenceStore'); } /** * Grants permission to create a new workflow run cache * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateRunCache.html */ toCreateRunCache() { return this.to('CreateRunCache'); } /** * Grants permission to create a new workflow run group * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateRunGroup.html */ toCreateRunGroup() { return this.to('CreateRunGroup'); } /** * Grants permission to create a Sequence Store * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateSequenceStore.html */ toCreateSequenceStore() { return this.to('CreateSequenceStore'); } /** * Grants permission to create a share * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_CreateShare.html */ toCreateShare() { return this.to('CreateShare'); } /** * Grants permission to create a Variant Store * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateVariantStore.html */ toCreateVariantStore() { return this.to('CreateVariantStore'); } /** * Grants permission to create a new workflow with a workflow definition and template of workflow parameters * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateWorkflow.html */ toCreateWorkflow() { return this.to('CreateWorkflow'); } /** * Grants permission to create a new workflow version with a workflow definition and template of workflow parameters * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_CreateWorkflowVersion.html */ toCreateWorkflowVersion() { return this.to('CreateWorkflowVersion'); } /** * Grants permission to delete an Annotation Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteAnnotationStore.html */ toDeleteAnnotationStore() { return this.to('DeleteAnnotationStore'); } /** * Grants permission to delete Versions in an Annotation Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteAnnotationStoreVersions.html */ toDeleteAnnotationStoreVersions() { return this.to('DeleteAnnotationStoreVersions'); } /** * Grants permission to delete a batch * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteBatch.html */ toDeleteBatch() { return this.to('DeleteBatch'); } /** * Grants permission to delete a configuration * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteConfiguration.html */ toDeleteConfiguration() { return this.to('DeleteConfiguration'); } /** * Grants permission to delete a Reference in the given Reference Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteReference.html */ toDeleteReference() { return this.to('DeleteReference'); } /** * Grants permission to delete a Reference Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteReferenceStore.html */ toDeleteReferenceStore() { return this.to('DeleteReferenceStore'); } /** * Grants permission to delete a workflow run * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteRun.html */ toDeleteRun() { return this.to('DeleteRun'); } /** * Grants permission to delete a batch of workflow runs * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteRunBatch.html */ toDeleteRunBatch() { return this.to('DeleteRunBatch'); } /** * Grants permission to delete a workflow run cache * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteRunCache.html */ toDeleteRunCache() { return this.to('DeleteRunCache'); } /** * Grants permission to delete a workflow run group * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteRunGroup.html */ toDeleteRunGroup() { return this.to('DeleteRunGroup'); } /** * Grants permission to delete an access policy on a given store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteS3AccessPolicy.html */ toDeleteS3AccessPolicy() { return this.to('DeleteS3AccessPolicy'); } /** * Grants permission to delete a Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteSequenceStore.html */ toDeleteSequenceStore() { return this.to('DeleteSequenceStore'); } /** * Grants permission to delete a share * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteShare.html */ toDeleteShare() { return this.to('DeleteShare'); } /** * Grants permission to delete a Variant Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteVariantStore.html */ toDeleteVariantStore() { return this.to('DeleteVariantStore'); } /** * Grants permission to delete a workflow * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteWorkflow.html */ toDeleteWorkflow() { return this.to('DeleteWorkflow'); } /** * Grants permission to delete a workflow version * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_DeleteWorkflowVersion.html */ toDeleteWorkflowVersion() { return this.to('DeleteWorkflowVersion'); } /** * Grants permission to get the status of an Annotation Import Job * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetAnnotationImportJob.html */ toGetAnnotationImportJob() { return this.to('GetAnnotationImportJob'); } /** * Grants permission to get detailed information about an Annotation Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetAnnotationStore.html */ toGetAnnotationStore() { return this.to('GetAnnotationStore'); } /** * Grants permission to get detailed information about a version in an Annotation Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetAnnotationStoreVersion.html */ toGetAnnotationStoreVersion() { return this.to('GetAnnotationStoreVersion'); } /** * Grants permission to retrieve batch details and status * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetBatch.html */ toGetBatch() { return this.to('GetBatch'); } /** * Grants permission to retrieve configuration details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetConfiguration.html */ toGetConfiguration() { return this.to('GetConfiguration'); } /** * Grants permission to get a Read Set in the given Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReadSet.html */ toGetReadSet() { return this.to('GetReadSet'); } /** * Grants permission to get details about a Read Set activation job for the given Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReadSetActivationJob.html */ toGetReadSetActivationJob() { return this.to('GetReadSetActivationJob'); } /** * Grants permission to get details about a Read Set export job for the given Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReadSetExportJob.html */ toGetReadSetExportJob() { return this.to('GetReadSetExportJob'); } /** * Grants permission to get details about a Read Set import job for the given Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReadSetImportJob.html */ toGetReadSetImportJob() { return this.to('GetReadSetImportJob'); } /** * Grants permission to get details about a Read Set in the given Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReadSetMetadata.html */ toGetReadSetMetadata() { return this.to('GetReadSetMetadata'); } /** * Grants permission to get a Reference in the given Reference Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReference.html */ toGetReference() { return this.to('GetReference'); } /** * Grants permission to get details about a Reference import job for the given Reference Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReferenceImportJob.html */ toGetReferenceImportJob() { return this.to('GetReferenceImportJob'); } /** * Grants permission to get details about a Reference in the given Reference Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReferenceMetadata.html */ toGetReferenceMetadata() { return this.to('GetReferenceMetadata'); } /** * Grants permission to get details about a Reference Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetReferenceStore.html */ toGetReferenceStore() { return this.to('GetReferenceStore'); } /** * Grants permission to retrieve workflow run details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetRun.html */ toGetRun() { return this.to('GetRun'); } /** * Grants permission to retrieve workflow run cache details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetRunCache.html */ toGetRunCache() { return this.to('GetRunCache'); } /** * Grants permission to retrieve workflow run group details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetRunGroup.html */ toGetRunGroup() { return this.to('GetRunGroup'); } /** * Grants permission to retrieve workflow task details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetRunTask.html */ toGetRunTask() { return this.to('GetRunTask'); } /** * Grants permission to get details about an access policy on a given store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetS3AccessPolicy.html */ toGetS3AccessPolicy() { return this.to('GetS3AccessPolicy'); } /** * Grants permission to get details about a Sequence Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetSequenceStore.html */ toGetSequenceStore() { return this.to('GetSequenceStore'); } /** * Grants permission to get detailed information about a Share * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetShare.html */ toGetShare() { return this.to('GetShare'); } /** * Grants permission to get the status of a Variant Import Job * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetVariantImportJob.html */ toGetVariantImportJob() { return this.to('GetVariantImportJob'); } /** * Grants permission to get detailed information about a Variant Store * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetVariantStore.html */ toGetVariantStore() { return this.to('GetVariantStore'); } /** * Grants permission to retrieve workflow details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetWorkflow.html */ toGetWorkflow() { return this.to('GetWorkflow'); } /** * Grants permission to retrieve workflow version details * * Access Level: Read * * https://docs.aws.amazon.com/omics/latest/api/API_GetWorkflowVersion.html */ toGetWorkflowVersion() { return this.to('GetWorkflowVersion'); } /** * Grants permission to get a list of Annotation Import Jobs * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListAnnotationImportJobs.html */ toListAnnotationImportJobs() { return this.to('ListAnnotationImportJobs'); } /** * Grants permission to retrieve a list of information about Versions in an Annotation Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListAnnotationStoreVersions.html */ toListAnnotationStoreVersions() { return this.to('ListAnnotationStoreVersions'); } /** * Grants permission to retrieve a list of information about Annotation Stores * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListAnnotationStores.html */ toListAnnotationStores() { return this.to('ListAnnotationStores'); } /** * Grants permission to retrieve list of batches * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListBatch.html */ toListBatch() { return this.to('ListBatch'); } /** * Grants permission to retrieve a list of configurations * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListConfigurations.html */ toListConfigurations() { return this.to('ListConfigurations'); } /** * Grants permission to list multipart read set uploads * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListMultipartReadSetUploads.html */ toListMultipartReadSetUploads() { return this.to('ListMultipartReadSetUploads'); } /** * Grants permission to list Read Set activation jobs for the given Sequence Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReadSetActivationJobs.html */ toListReadSetActivationJobs() { return this.to('ListReadSetActivationJobs'); } /** * Grants permission to list Read Set export jobs for the given Sequence Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReadSetExportJobs.html */ toListReadSetExportJobs() { return this.to('ListReadSetExportJobs'); } /** * Grants permission to list Read Set import jobs for the given Sequence Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReadSetImportJobs.html */ toListReadSetImportJobs() { return this.to('ListReadSetImportJobs'); } /** * Grants permission to list read set upload parts * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReadSetUploadParts.html */ toListReadSetUploadParts() { return this.to('ListReadSetUploadParts'); } /** * Grants permission to list Read Sets in the given Sequence Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReadSets.html */ toListReadSets() { return this.to('ListReadSets'); } /** * Grants permission to list Reference import jobs for the given Reference Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReferenceImportJobs.html */ toListReferenceImportJobs() { return this.to('ListReferenceImportJobs'); } /** * Grants permission to list Reference Stores * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReferenceStores.html */ toListReferenceStores() { return this.to('ListReferenceStores'); } /** * Grants permission to list References in the given Reference Store * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListReferences.html */ toListReferences() { return this.to('ListReferences'); } /** * Grants permission to retrieve a list of workflow run caches * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListRunCaches.html */ toListRunCaches() { return this.to('ListRunCaches'); } /** * Grants permission to retrieve a list of workflow run groups * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListRunGroups.html */ toListRunGroups() { return this.to('ListRunGroups'); } /** * Grants permission to retrieve a list of tasks for a workflow run * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListRunTasks.html */ toListRunTasks() { return this.to('ListRunTasks'); } /** * Grants permission to retrieve a list of workflow runs * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListRuns.html */ toListRuns() { return this.to('ListRuns'); } /** * Grants permission to retrieve list of workflow runs in batch * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListRunsInBatch.html */ toListRunsInBatch() { return this.to('ListRunsInBatch'); } /** * Grants permission to list Sequence Stores * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListSequenceStores.html */ toListSequenceStores() { return this.to('ListSequenceStores'); } /** * Grants permission to retrieve a list of information about shares * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListShares.html */ toListShares() { return this.to('ListShares'); } /** * Grants permission to retrieve a list of resource AWS tags * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListTagsForResource.html */ toListTagsForResource() { return this.to('ListTagsForResource'); } /** * Grants permission to get a list of Variant Import Jobs * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListVariantImportJobs.html */ toListVariantImportJobs() { return this.to('ListVariantImportJobs'); } /** * Grants permission to retrieve a list of metadata for Variant Stores * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListVariantStores.html */ toListVariantStores() { return this.to('ListVariantStores'); } /** * Grants permission to retrieve a list of available versions for a workflow * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListWorkflowVersions.html */ toListWorkflowVersions() { return this.to('ListWorkflowVersions'); } /** * Grants permission to retrieve a list of available workflows * * Access Level: List * * https://docs.aws.amazon.com/omics/latest/api/API_ListWorkflows.html */ toListWorkflows() { return this.to('ListWorkflows'); } /** * Grants permission to put an access policy on a given store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_PutS3AccessPolicy.html */ toPutS3AccessPolicy() { return this.to('PutS3AccessPolicy'); } /** * Grants permission to import a list of Annotation files to an Annotation Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartAnnotationImportJob.html */ toStartAnnotationImportJob() { return this.to('StartAnnotationImportJob'); } /** * Grants permission to start a Read Set activation job from the given Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartReadSetActivationJob.html */ toStartReadSetActivationJob() { return this.to('StartReadSetActivationJob'); } /** * Grants permission to start a Read Set export job from the given Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartReadSetExportJob.html */ toStartReadSetExportJob() { return this.to('StartReadSetExportJob'); } /** * Grants permission to start a Read Set import job into the given Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartReadSetImportJob.html */ toStartReadSetImportJob() { return this.to('StartReadSetImportJob'); } /** * Grants permission to start a Reference import job into the given Reference Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartReferenceImportJob.html */ toStartReferenceImportJob() { return this.to('StartReferenceImportJob'); } /** * Grants permission to start a workflow run * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * Dependent actions: * - iam:PassRole * * https://docs.aws.amazon.com/omics/latest/api/API_StartRun.html */ toStartRun() { return this.to('StartRun'); } /** * Grants permission to start batch of workflow runs * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * Dependent actions: * - iam:PassRole * * https://docs.aws.amazon.com/omics/latest/api/API_StartRunBatch.html */ toStartRunBatch() { return this.to('StartRunBatch'); } /** * Grants permission to import a list of variant files to an Variant Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_StartVariantImportJob.html */ toStartVariantImportJob() { return this.to('StartVariantImportJob'); } /** * Grants permission to add AWS tags to a resource * * Access Level: Tagging * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_TagResource.html */ toTagResource() { return this.to('TagResource'); } /** * Grants permission to remove resource AWS tags * * Access Level: Tagging * * Possible conditions: * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/omics/latest/api/API_UntagResource.html */ toUntagResource() { return this.to('UntagResource'); } /** * Grants permission to update information about the Annotation Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateAnnotationStore.html */ toUpdateAnnotationStore() { return this.to('UpdateAnnotationStore'); } /** * Grants permission to update information about the Version in an Annotation Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateAnnotationStoreVersion.html */ toUpdateAnnotationStoreVersion() { return this.to('UpdateAnnotationStoreVersion'); } /** * Grants permission to update a workflow run cache * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateRunCache.html */ toUpdateRunCache() { return this.to('UpdateRunCache'); } /** * Grants permission to update a workflow run group * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateRunGroup.html */ toUpdateRunGroup() { return this.to('UpdateRunGroup'); } /** * Grants permission to update details about a Sequence Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateSequenceStore.html */ toUpdateSequenceStore() { return this.to('UpdateSequenceStore'); } /** * Grants permission to update metadata about the Variant Store * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateVariantStore.html */ toUpdateVariantStore() { return this.to('UpdateVariantStore'); } /** * Grants permission to update workflow details * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateWorkflow.html */ toUpdateWorkflow() { return this.to('UpdateWorkflow'); } /** * Grants permission to update workflow version details * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UpdateWorkflowVersion.html */ toUpdateWorkflowVersion() { return this.to('UpdateWorkflowVersion'); } /** * Grants permission to upload read set parts * * Access Level: Write * * https://docs.aws.amazon.com/omics/latest/api/API_UploadReadSetPart.html */ toUploadReadSetPart() { return this.to('UploadReadSetPart'); } /** * Adds a resource of type AnnotationStore to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_AnnotationStoreItem.html * * @param annotationStoreName - Identifier for the annotationStoreName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onAnnotationStore(annotationStoreName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:annotationStore/${annotationStoreName}`); } /** * Adds a resource of type AnnotationStoreVersion to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_AnnotationStoreVersionItem.html * * @param annotationStoreName - Identifier for the annotationStoreName. * @param annotationStoreVersionName - Identifier for the annotationStoreVersionName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onAnnotationStoreVersion(annotationStoreName, annotationStoreVersionName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:annotationStore/${annotationStoreName}/version/${annotationStoreVersionName}`); } /** * Adds a resource of type configuration to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_ConfigurationListItem.html * * @param name - Identifier for the name. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onConfiguration(name, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:configuration/${name}`); } /** * Adds a resource of type readSet to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_ReadSetFiles.html * * @param sequenceStoreId - Identifier for the sequenceStoreId. * @param readSetId - Identifier for the readSetId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onReadSet(sequenceStoreId, readSetId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:sequenceStore/${sequenceStoreId}/readSet/${readSetId}`); } /** * Adds a resource of type reference to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_ReferenceFiles.html * * @param referenceStoreId - Identifier for the referenceStoreId. * @param referenceId - Identifier for the referenceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onReference(referenceStoreId, referenceId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:referenceStore/${referenceStoreId}/reference/${referenceId}`); } /** * Adds a resource of type referenceStore to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_ReferenceStoreDetail.html * * @param referenceStoreId - Identifier for the referenceStoreId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onReferenceStore(referenceStoreId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:referenceStore/${referenceStoreId}`); } /** * Adds a resource of type run to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_RunListItem.html * * @param id - Identifier for the id. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onRun(id, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:run/${id}`); } /** * Adds a resource of type runBatch to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_BatchListItem.html * * @param batchId - Identifier for the batchId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onRunBatch(batchId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:runBatch/${batchId}`); } /** * Adds a resource of type runCache to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_RunCacheListItem.html * * @param id - Identifier for the id. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onRunCache(id, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:runCache/${id}`); } /** * Adds a resource of type runGroup to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_RunGroupListItem.html * * @param id - Identifier for the id. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onRunGroup(id, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:runGroup/${id}`); } /** * Adds a resource of type sequenceStore to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_SequenceStoreDetail.html * * @param sequenceStoreId - Identifier for the sequenceStoreId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onSequenceStore(sequenceStoreId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:sequenceStore/${sequenceStoreId}`); } /** * Adds a resource of type TaskResource to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_TaskListItem.html * * @param id - Identifier for the id. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onTaskResource(id, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:task/${id}`); } /** * Adds a resource of type VariantStore to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_VariantStoreItem.html * * @param variantStoreName - Identifier for the variantStoreName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onVariantStore(variantStoreName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:variantStore/${variantStoreName}`); } /** * Adds a resource of type workflow to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_WorkflowListItem.html * * @param id - Identifier for the id. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onWorkflow(id, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:workflow/${id}`); } /** * Adds a resource of type WorkflowVersion to the statement * * https://docs.aws.amazon.com/omics/latest/api/API_WorkflowVersionListItem.html * * @param id - Identifier for the id. * @param versionName - Identifier for the versionName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onWorkflowVersion(id, versionName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:omics:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:workflow/${id}/version/${versionName}`); } /** * Filters access by the presence of tag key-value pairs in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag * * Applies to actions: * - .toCreateAnnotationStore() * - .toCreateAnnotationStoreVersion() * - .toCreateConfiguration() * - .toCreateReferenceStore() * - .toCreateRunCache() * - .toCreateRunGroup() * - .toCreateSequenceStore() * - .toCreateVariantStore() * - .toCreateWorkflow() * - .toCreateWorkflowVersion() * - .toStartRun() * - .toStartRunBatch() * - .toTagResource() * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsRequestTag(tagKey, value, operator) { return this.if(`aws:RequestTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by the presence of tag key-value pairs attached to the resource * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag * * Applies to resource types: * - AnnotationStore * - AnnotationStoreVersion * - configuration * - readSet * - reference * - referenceStore * - run * - runBatch * - runCache * - runGroup * - sequenceStore * - VariantStore * - workflow * - WorkflowVersion * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsResourceTag(tagKey, value, operator) { return this.if(`aws:ResourceTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by the presence of tag keys in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys * * Applies to actions: * - .toCreateAnnotationStore() * - .toCreateAnnotationStoreVersion() * - .toCreateConfiguration() * - .toCreateReferenceStore() * - .toCreateRunCache() * - .toCreateRunGroup() * - .toCreateSequenceStore() * - .toCreateVariantStore() * - .toCreateWorkflow() * - .toCreateWorkflowVersion() * - .toStartRun() * - .toStartRunBatch() * - .toTagResource() * - .toUntagResource() * * @param value The value(s) to check * @param operator Works with [string operators](https:/