

# Actions, resources, and condition keys for Amazon Simple Workflow Service
<a name="list_amazonsimpleworkflowservice"></a>

Amazon Simple Workflow Service (service prefix: `swf`) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:
+ Learn how to [configure this service](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-welcome.html).
+ View a list of the [API operations available for this service](https://docs.aws.amazon.com/amazonswf/latest/apireference/).
+ Learn how to secure this service and its resources by [using IAM](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) permission policies.

**Topics**
+ [Actions defined by Amazon Simple Workflow Service](#amazonsimpleworkflowservice-actions-as-permissions)
+ [Resource types defined by Amazon Simple Workflow Service](#amazonsimpleworkflowservice-resources-for-iam-policies)
+ [Condition keys for Amazon Simple Workflow Service](#amazonsimpleworkflowservice-policy-keys)

## Actions defined by Amazon Simple Workflow Service
<a name="amazonsimpleworkflowservice-actions-as-permissions"></a>

You can specify the following actions in the `Action` element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The **Access level** column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see [Access levels in policy summaries](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html).

The **Resource types** column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("\*") to which the policy applies in the `Resource` element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (\*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The **Condition keys** column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the **Condition keys** column of the Resource types table.

The **Dependent actions** column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

**Note**  
Resource condition keys are listed in the [Resource types](#amazonsimpleworkflowservice-resources-for-iam-policies) table. You can find a link to the resource type that applies to an action in the **Resource types (\*required)** column of the Actions table. The resource type in the Resource types table includes the **Condition keys** column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see [Actions table](reference_policies_actions-resources-contextkeys.html#actions_table).


****  


- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to cancel a previously started timer and record a TimerCanceled event in the history
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to close the workflow execution and record a WorkflowExecutionCanceled event in the history
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to close the workflow execution and record a WorkflowExecutionCompleted event in the history
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** 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
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountClosedWorkflowExecutions.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountClosedWorkflowExecutions.html) **
  - **Description:** Grants permission to return the number of closed workflow executions within the given domain that meet the specified filtering criteria
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_tagFilter.tag](#amazonsimpleworkflowservice-swf_tagFilter.tag) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.name](#amazonsimpleworkflowservice-swf_typeFilter.name) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.version](#amazonsimpleworkflowservice-swf_typeFilter.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountOpenWorkflowExecutions.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountOpenWorkflowExecutions.html) **
  - **Description:** Grants permission to return the number of open workflow executions within the given domain that meet the specified filtering criteria
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_tagFilter.tag](#amazonsimpleworkflowservice-swf_tagFilter.tag) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.name](#amazonsimpleworkflowservice-swf_typeFilter.name) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.version](#amazonsimpleworkflowservice-swf_typeFilter.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingActivityTasks.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingActivityTasks.html) **
  - **Description:** Grants permission to return the estimated number of activity tasks in the specified task list
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingDecisionTasks.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingDecisionTasks.html) **
  - **Description:** Grants permission to return the estimated number of decision tasks in the specified task list
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteActivityType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteActivityType.html) **
  - **Description:** Grants permission to delete the specified activity type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_activityType.name](#amazonsimpleworkflowservice-swf_activityType.name) <br /> [#amazonsimpleworkflowservice-swf_activityType.version](#amazonsimpleworkflowservice-swf_activityType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteWorkflowType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeleteWorkflowType.html) **
  - **Description:** Grants permission to delete the specified workflow type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateActivityType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateActivityType.html) **
  - **Description:** Grants permission to deprecate the specified activity type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_activityType.name](#amazonsimpleworkflowservice-swf_activityType.name) <br /> [#amazonsimpleworkflowservice-swf_activityType.version](#amazonsimpleworkflowservice-swf_activityType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateDomain.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateDomain.html) **
  - **Description:** Grants permission to deprecate the specified domain
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateWorkflowType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateWorkflowType.html) **
  - **Description:** Grants permission to deprecate the specified workflow type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeActivityType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeActivityType.html) **
  - **Description:** Grants permission to return information about the specified activity type
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_activityType.name](#amazonsimpleworkflowservice-swf_activityType.name) <br /> [#amazonsimpleworkflowservice-swf_activityType.version](#amazonsimpleworkflowservice-swf_activityType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeDomain.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeDomain.html) **
  - **Description:** Grants permission to return information about the specified domain, including its description and status
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowExecution.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowExecution.html) **
  - **Description:** Grants permission to return information about the specified workflow execution including its type and some statistics
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowType.html) **
  - **Description:** Grants permission to return information about the specified workflow type
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to close the workflow execution and record a WorkflowExecutionFailed event in the history
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_GetWorkflowExecutionHistory.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_GetWorkflowExecutionHistory.html) **
  - **Description:** Grants permission to return the history of the specified workflow execution
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListActivityTypes.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListActivityTypes.html) **
  - **Description:** Grants permission to return information about all activities registered in the specified domain that match the specified name and registration status
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListClosedWorkflowExecutions.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListClosedWorkflowExecutions.html) **
  - **Description:** Grants permission to return a list of closed workflow executions in the specified domain that meet the filtering criteria
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_tagFilter.tag](#amazonsimpleworkflowservice-swf_tagFilter.tag) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.name](#amazonsimpleworkflowservice-swf_typeFilter.name) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.version](#amazonsimpleworkflowservice-swf_typeFilter.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListDomains.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListDomains.html) **
  - **Description:** Grants permission to return the list of domains registered in the account
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListOpenWorkflowExecutions.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListOpenWorkflowExecutions.html) **
  - **Description:** Grants permission to return a list of open workflow executions in the specified domain that meet the filtering criteria
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_tagFilter.tag](#amazonsimpleworkflowservice-swf_tagFilter.tag) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.name](#amazonsimpleworkflowservice-swf_typeFilter.name) <br /> [#amazonsimpleworkflowservice-swf_typeFilter.version](#amazonsimpleworkflowservice-swf_typeFilter.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListTagsForResource.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListTagsForResource.html) **
  - **Description:** Grants permission to list tags for an AWS SWF resource
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListWorkflowTypes.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListWorkflowTypes.html) **
  - **Description:** Grants permission to return information about workflow types in the specified domain
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForActivityTask.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForActivityTask.html) **
  - **Description:** Grants permission to workers to get an ActivityTask from the specified activity taskList
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForDecisionTask.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForDecisionTask.html) **
  - **Description:** Grants permission to deciders to get a DecisionTask from the specified decision taskList
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RecordActivityTaskHeartbeat.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RecordActivityTaskHeartbeat.html) **
  - **Description:** Grants permission to workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to record a MarkerRecorded event in the history
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterActivityType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterActivityType.html) **
  - **Description:** Grants permission to register a new activity type along with its configuration settings in the specified domain
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_defaultTaskList.name](#amazonsimpleworkflowservice-swf_defaultTaskList.name) <br /> [#amazonsimpleworkflowservice-swf_name](#amazonsimpleworkflowservice-swf_name) <br /> [#amazonsimpleworkflowservice-swf_version](#amazonsimpleworkflowservice-swf_version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterDomain.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterDomain.html) **
  - **Description:** Grants permission to register a new domain
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#amazonsimpleworkflowservice-aws_TagKeys](#amazonsimpleworkflowservice-aws_TagKeys) <br /> [#amazonsimpleworkflowservice-aws_RequestTag___TagKey_](#amazonsimpleworkflowservice-aws_RequestTag___TagKey_) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html) **
  - **Description:** Grants permission to register a new workflow type and its configuration settings in the specified domain
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_defaultTaskList.name](#amazonsimpleworkflowservice-swf_defaultTaskList.name) <br /> [#amazonsimpleworkflowservice-swf_name](#amazonsimpleworkflowservice-swf_name) <br /> [#amazonsimpleworkflowservice-swf_version](#amazonsimpleworkflowservice-swf_version)  / **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to attempt to cancel a previously scheduled activity task
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to request that a request be made to cancel the specified external workflow execution
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RequestCancelWorkflowExecution.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RequestCancelWorkflowExecution.html) **
  - **Description:** Grants permission to record a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCanceled.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCanceled.html) **
  - **Description:** Grants permission to workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCompleted.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCompleted.html) **
  - **Description:** 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
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_activityType.name](#amazonsimpleworkflowservice-swf_activityType.name) <br /> [#amazonsimpleworkflowservice-swf_activityType.version](#amazonsimpleworkflowservice-swf_activityType.version) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.0](#amazonsimpleworkflowservice-swf_tagList.member.0) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.1](#amazonsimpleworkflowservice-swf_tagList.member.1) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.2](#amazonsimpleworkflowservice-swf_tagList.member.2) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.3](#amazonsimpleworkflowservice-swf_tagList.member.3) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.4](#amazonsimpleworkflowservice-swf_tagList.member.4) <br /> [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskFailed.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskFailed.html) **
  - **Description:** Grants permission to workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified)
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondDecisionTaskCompleted.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondDecisionTaskCompleted.html) **
  - **Description:** Grants permission to deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to schedule an activity task
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to request a signal to be delivered to the specified external workflow execution and records
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_SignalWorkflowExecution.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_SignalWorkflowExecution.html) **
  - **Description:** 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
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to request that a child workflow execution be started
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [${APIReferenceDocPage}API_Decision.html](${APIReferenceDocPage}API_Decision.html) [permission only]**
  - **Description:** Grants permission to start a timer for a workflow execution
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_StartWorkflowExecution.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_StartWorkflowExecution.html) **
  - **Description:** Grants permission to start an execution of the workflow type in the specified domain using the provided workflowId and input data
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_tagList.member.0](#amazonsimpleworkflowservice-swf_tagList.member.0) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.1](#amazonsimpleworkflowservice-swf_tagList.member.1) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.2](#amazonsimpleworkflowservice-swf_tagList.member.2) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.3](#amazonsimpleworkflowservice-swf_tagList.member.3) <br /> [#amazonsimpleworkflowservice-swf_tagList.member.4](#amazonsimpleworkflowservice-swf_tagList.member.4) <br /> [#amazonsimpleworkflowservice-swf_taskList.name](#amazonsimpleworkflowservice-swf_taskList.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TagResource.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TagResource.html) **
  - **Description:** Grants permission to tag an AWS SWF resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-aws_TagKeys](#amazonsimpleworkflowservice-aws_TagKeys) <br /> [#amazonsimpleworkflowservice-aws_RequestTag___TagKey_](#amazonsimpleworkflowservice-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TerminateWorkflowExecution.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_TerminateWorkflowExecution.html) **
  - **Description:** 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
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateActivityType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateActivityType.html) **
  - **Description:** Grants permission to undeprecate a previously deprecated activity type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_activityType.name](#amazonsimpleworkflowservice-swf_activityType.name) <br /> [#amazonsimpleworkflowservice-swf_activityType.version](#amazonsimpleworkflowservice-swf_activityType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateDomain.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateDomain.html) **
  - **Description:** Grants permission to undeprecate a previously deprecated domain
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateWorkflowType.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UndeprecateWorkflowType.html) **
  - **Description:** Grants permission to undeprecate a previously deprecated workflow type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-swf_workflowType.name](#amazonsimpleworkflowservice-swf_workflowType.name) <br /> [#amazonsimpleworkflowservice-swf_workflowType.version](#amazonsimpleworkflowservice-swf_workflowType.version)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UntagResource.html](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_UntagResource.html) **
  - **Description:** Grants permission to remove a tag from an AWS SWF resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonsimpleworkflowservice-domain](#amazonsimpleworkflowservice-domain)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonsimpleworkflowservice-aws_TagKeys](#amazonsimpleworkflowservice-aws_TagKeys)  / **Dependent actions:** 



## Resource types defined by Amazon Simple Workflow Service
<a name="amazonsimpleworkflowservice-resources-for-iam-policies"></a>

The following resource types are defined by this service and can be used in the `Resource` element of IAM permission policy statements. Each action in the [Actions table](#amazonsimpleworkflowservice-actions-as-permissions) identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see [Resource types table](reference_policies_actions-resources-contextkeys.html#resources_table).


****  

| Resource types | ARN | Condition keys | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-domains.html](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-domains.html)  |  arn:${Partition}:swf::${Account}:/domain/${DomainName}  |  [#amazonsimpleworkflowservice-aws_ResourceTag___TagKey_](#amazonsimpleworkflowservice-aws_ResourceTag___TagKey_)  | 

## Condition keys for Amazon Simple Workflow Service
<a name="amazonsimpleworkflowservice-policy-keys"></a>

Amazon Simple Workflow Service defines the following condition keys that can be used in the `Condition` element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see [Condition keys table](reference_policies_actions-resources-contextkeys.html#context_keys_table).

To view the global condition keys that are available to all services, see [AWS global condition context keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html).


****  

| Condition keys | Description | Type | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | Filters access by tag of the request | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | Filters access by tag of the resource | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | Filters access by tag of the key | ArrayOfString | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of the activity type | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the version of the activity type | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of the default task list | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of activities or workflows | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the value of tagFilter.tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the specified tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the specified tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the specified tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the specified tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the specified tag | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of the tasklist  | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of the type filter | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the version of the type filter | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the version of activities or workflows | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the name of the workflow type | String | 
|   [https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html##swf-dev-iam.api)  | Filters access by the version of the workflow type | String | 