iam-floyd
Version:
AWS IAM policy statement generator with fluent interface
795 lines (794 loc) • 30.8 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement, Operator } from '../../shared';
/**
* Statement provider for service [swf](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsimpleworkflowservice.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Swf extends PolicyStatement {
servicePrefix: string;
/**
* Statement provider for service [swf](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsimpleworkflowservice.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
constructor(sid?: string);
/**
* Grants permission to cancel a previously started timer and record a TimerCanceled event in the history
*
* Access Level: Write
*/
toCancelTimer(): this;
/**
* Grants permission to close the workflow execution and record a WorkflowExecutionCanceled event in the history
*
* Access Level: Write
*/
toCancelWorkflowExecution(): this;
/**
* Grants permission to close the workflow execution and record a WorkflowExecutionCompleted event in the history
*
* Access Level: Write
*/
toCompleteWorkflowExecution(): this;
/**
* Grants permission to close the workflow execution and start a new workflow execution of the same type using the same workflow ID and a unique run Id
*
* Access Level: Write
*/
toContinueAsNewWorkflowExecution(): this;
/**
* Grants permission to return the number of closed workflow executions within the given domain that meet the specified filtering criteria
*
* Access Level: Read
*
* Possible conditions:
* - .ifTagFilterTag()
* - .ifTypeFilterName()
* - .ifTypeFilterVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountClosedWorkflowExecutions.html
*/
toCountClosedWorkflowExecutions(): this;
/**
* Grants permission to return the number of open workflow executions within the given domain that meet the specified filtering criteria
*
* Access Level: Read
*
* Possible conditions:
* - .ifTagFilterTag()
* - .ifTypeFilterName()
* - .ifTypeFilterVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountOpenWorkflowExecutions.html
*/
toCountOpenWorkflowExecutions(): this;
/**
* Grants permission to return the estimated number of activity tasks in the specified task list
*
* Access Level: Read
*
* Possible conditions:
* - .ifTaskListName()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingActivityTasks.html
*/
toCountPendingActivityTasks(): this;
/**
* Grants permission to return the estimated number of decision tasks in the specified task list
*
* Access Level: Read
*
* Possible conditions:
* - .ifTaskListName()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingDecisionTasks.html
*/
toCountPendingDecisionTasks(): this;
/**
* Grants permission to delete the specified activity type
*
* Access Level: Write
*
* Possible conditions:
* - .ifActivityTypeName()
* - .ifActivityTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteActivityType.html
*/
toDeleteActivityType(): this;
/**
* Grants permission to delete the specified workflow type
*
* Access Level: Write
*
* Possible conditions:
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteWorkflowType.html
*/
toDeleteWorkflowType(): this;
/**
* Grants permission to deprecate the specified activity type
*
* Access Level: Write
*
* Possible conditions:
* - .ifActivityTypeName()
* - .ifActivityTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateActivityType.html
*/
toDeprecateActivityType(): this;
/**
* Grants permission to deprecate the specified domain
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateDomain.html
*/
toDeprecateDomain(): this;
/**
* Grants permission to deprecate the specified workflow type
*
* Access Level: Write
*
* Possible conditions:
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateWorkflowType.html
*/
toDeprecateWorkflowType(): this;
/**
* Grants permission to return information about the specified activity type
*
* Access Level: Read
*
* Possible conditions:
* - .ifActivityTypeName()
* - .ifActivityTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeActivityType.html
*/
toDescribeActivityType(): this;
/**
* Grants permission to return information about the specified domain, including its description and status
*
* Access Level: Read
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeDomain.html
*/
toDescribeDomain(): this;
/**
* Grants permission to return information about the specified workflow execution including its type and some statistics
*
* Access Level: Read
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowExecution.html
*/
toDescribeWorkflowExecution(): this;
/**
* Grants permission to return information about the specified workflow type
*
* Access Level: Read
*
* Possible conditions:
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowType.html
*/
toDescribeWorkflowType(): this;
/**
* Grants permission to close the workflow execution and record a WorkflowExecutionFailed event in the history
*
* Access Level: Write
*/
toFailWorkflowExecution(): this;
/**
* Grants permission to return the history of the specified workflow execution
*
* Access Level: Read
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_GetWorkflowExecutionHistory.html
*/
toGetWorkflowExecutionHistory(): this;
/**
* Grants permission to return information about all activities registered in the specified domain that match the specified name and registration status
*
* Access Level: List
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListActivityTypes.html
*/
toListActivityTypes(): this;
/**
* Grants permission to return a list of closed workflow executions in the specified domain that meet the filtering criteria
*
* Access Level: List
*
* Possible conditions:
* - .ifTagFilterTag()
* - .ifTypeFilterName()
* - .ifTypeFilterVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListClosedWorkflowExecutions.html
*/
toListClosedWorkflowExecutions(): this;
/**
* Grants permission to return the list of domains registered in the account
*
* Access Level: List
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListDomains.html
*/
toListDomains(): this;
/**
* Grants permission to return a list of open workflow executions in the specified domain that meet the filtering criteria
*
* Access Level: List
*
* Possible conditions:
* - .ifTagFilterTag()
* - .ifTypeFilterName()
* - .ifTypeFilterVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListOpenWorkflowExecutions.html
*/
toListOpenWorkflowExecutions(): this;
/**
* Grants permission to list tags for an AWS SWF resource
*
* Access Level: List
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListTagsForResource.html
*/
toListTagsForResource(): this;
/**
* Grants permission to return information about workflow types in the specified domain
*
* Access Level: List
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListWorkflowTypes.html
*/
toListWorkflowTypes(): this;
/**
* Grants permission to workers to get an ActivityTask from the specified activity taskList
*
* Access Level: Write
*
* Possible conditions:
* - .ifTaskListName()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForActivityTask.html
*/
toPollForActivityTask(): this;
/**
* Grants permission to deciders to get a DecisionTask from the specified decision taskList
*
* Access Level: Write
*
* Possible conditions:
* - .ifTaskListName()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForDecisionTask.html
*/
toPollForDecisionTask(): this;
/**
* Grants permission to workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RecordActivityTaskHeartbeat.html
*/
toRecordActivityTaskHeartbeat(): this;
/**
* Grants permission to record a MarkerRecorded event in the history
*
* Access Level: Write
*/
toRecordMarker(): this;
/**
* Grants permission to register a new activity type along with its configuration settings in the specified domain
*
* Access Level: Write
*
* Possible conditions:
* - .ifDefaultTaskListName()
* - .ifName()
* - .ifVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterActivityType.html
*/
toRegisterActivityType(): this;
/**
* Grants permission to register a new domain
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsTagKeys()
* - .ifAwsRequestTag()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterDomain.html
*/
toRegisterDomain(): this;
/**
* Grants permission to register a new workflow type and its configuration settings in the specified domain
*
* Access Level: Write
*
* Possible conditions:
* - .ifDefaultTaskListName()
* - .ifName()
* - .ifVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html
*/
toRegisterWorkflowType(): this;
/**
* Grants permission to attempt to cancel a previously scheduled activity task
*
* Access Level: Write
*/
toRequestCancelActivityTask(): this;
/**
* Grants permission to request that a request be made to cancel the specified external workflow execution
*
* Access Level: Write
*/
toRequestCancelExternalWorkflowExecution(): this;
/**
* Grants permission to record a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RequestCancelWorkflowExecution.html
*/
toRequestCancelWorkflowExecution(): this;
/**
* Grants permission to workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCanceled.html
*/
toRespondActivityTaskCanceled(): this;
/**
* Grants permission to workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided)
*
* Access Level: Write
*
* Possible conditions:
* - .ifActivityTypeName()
* - .ifActivityTypeVersion()
* - .ifTagListMember0()
* - .ifTagListMember1()
* - .ifTagListMember2()
* - .ifTagListMember3()
* - .ifTagListMember4()
* - .ifTaskListName()
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCompleted.html
*/
toRespondActivityTaskCompleted(): this;
/**
* Grants permission to workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified)
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskFailed.html
*/
toRespondActivityTaskFailed(): this;
/**
* Grants permission to deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondDecisionTaskCompleted.html
*/
toRespondDecisionTaskCompleted(): this;
/**
* Grants permission to schedule an activity task
*
* Access Level: Write
*/
toScheduleActivityTask(): this;
/**
* Grants permission to request a signal to be delivered to the specified external workflow execution and records
*
* Access Level: Write
*/
toSignalExternalWorkflowExecution(): this;
/**
* Grants permission to record a WorkflowExecutionSignaled event in the workflow execution history and create a decision task for the workflow execution identified by the given domain, workflowId and runId
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_SignalWorkflowExecution.html
*/
toSignalWorkflowExecution(): this;
/**
* Grants permission to request that a child workflow execution be started
*
* Access Level: Write
*/
toStartChildWorkflowExecution(): this;
/**
* Grants permission to start a timer for a workflow execution
*
* Access Level: Write
*/
toStartTimer(): this;
/**
* Grants permission to start an execution of the workflow type in the specified domain using the provided workflowId and input data
*
* Access Level: Write
*
* Possible conditions:
* - .ifTagListMember0()
* - .ifTagListMember1()
* - .ifTagListMember2()
* - .ifTagListMember3()
* - .ifTagListMember4()
* - .ifTaskListName()
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_StartWorkflowExecution.html
*/
toStartWorkflowExecution(): this;
/**
* Grants permission to tag an AWS SWF resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
* - .ifAwsRequestTag()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TagResource.html
*/
toTagResource(): this;
/**
* Grants permission to record a WorkflowExecutionTerminated event and force closure of the workflow execution identified by the given domain, runId, and workflowId
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TerminateWorkflowExecution.html
*/
toTerminateWorkflowExecution(): this;
/**
* Grants permission to undeprecate a previously deprecated activity type
*
* Access Level: Write
*
* Possible conditions:
* - .ifActivityTypeName()
* - .ifActivityTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateActivityType.html
*/
toUndeprecateActivityType(): this;
/**
* Grants permission to undeprecate a previously deprecated domain
*
* Access Level: Write
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateDomain.html
*/
toUndeprecateDomain(): this;
/**
* Grants permission to undeprecate a previously deprecated workflow type
*
* Access Level: Write
*
* Possible conditions:
* - .ifWorkflowTypeName()
* - .ifWorkflowTypeVersion()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateWorkflowType.html
*/
toUndeprecateWorkflowType(): this;
/**
* Grants permission to remove a tag from an AWS SWF resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UntagResource.html
*/
toUntagResource(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type domain to the statement
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-domains.html
*
* @param domainName - Identifier for the domainName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @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()
*/
onDomain(domainName: string, account?: string, partition?: string): this;
/**
* Filters access by tag of the request
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag
*
* Applies to actions:
* - .toRegisterDomain()
* - .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: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters access by tag of the resource
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
*
* Applies to resource types:
* - domain
*
* @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: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters access by tag of the key
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
*
* Applies to actions:
* - .toRegisterDomain()
* - .toTagResource()
* - .toUntagResource()
*
* @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`
*/
ifAwsTagKeys(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of the activity type
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toDeleteActivityType()
* - .toDeprecateActivityType()
* - .toDescribeActivityType()
* - .toRespondActivityTaskCompleted()
* - .toUndeprecateActivityType()
*
* @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`
*/
ifActivityTypeName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the version of the activity type
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toDeleteActivityType()
* - .toDeprecateActivityType()
* - .toDescribeActivityType()
* - .toRespondActivityTaskCompleted()
* - .toUndeprecateActivityType()
*
* @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`
*/
ifActivityTypeVersion(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of the default task list
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRegisterActivityType()
* - .toRegisterWorkflowType()
*
* @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`
*/
ifDefaultTaskListName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of activities or workflows
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRegisterActivityType()
* - .toRegisterWorkflowType()
*
* @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`
*/
ifName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the value of tagFilter.tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toCountClosedWorkflowExecutions()
* - .toCountOpenWorkflowExecutions()
* - .toListClosedWorkflowExecutions()
* - .toListOpenWorkflowExecutions()
*
* @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`
*/
ifTagFilterTag(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the specified tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTagListMember0(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the specified tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTagListMember1(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the specified tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTagListMember2(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the specified tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTagListMember3(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the specified tag
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTagListMember4(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of the tasklist
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toCountPendingActivityTasks()
* - .toCountPendingDecisionTasks()
* - .toPollForActivityTask()
* - .toPollForDecisionTask()
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
*
* @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`
*/
ifTaskListName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of the type filter
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toCountClosedWorkflowExecutions()
* - .toCountOpenWorkflowExecutions()
* - .toListClosedWorkflowExecutions()
* - .toListOpenWorkflowExecutions()
*
* @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`
*/
ifTypeFilterName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the version of the type filter
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toCountClosedWorkflowExecutions()
* - .toCountOpenWorkflowExecutions()
* - .toListClosedWorkflowExecutions()
* - .toListOpenWorkflowExecutions()
*
* @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`
*/
ifTypeFilterVersion(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the version of activities or workflows
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toRegisterActivityType()
* - .toRegisterWorkflowType()
*
* @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`
*/
ifVersion(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the name of the workflow type
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toDeleteWorkflowType()
* - .toDeprecateWorkflowType()
* - .toDescribeWorkflowType()
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
* - .toUndeprecateWorkflowType()
*
* @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`
*/
ifWorkflowTypeName(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the version of the workflow type
*
* https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api
*
* Applies to actions:
* - .toDeleteWorkflowType()
* - .toDeprecateWorkflowType()
* - .toDescribeWorkflowType()
* - .toRespondActivityTaskCompleted()
* - .toStartWorkflowExecution()
* - .toUndeprecateWorkflowType()
*
* @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`
*/
ifWorkflowTypeVersion(value: string | string[], operator?: Operator | string): this;
}