swf:RequestCancelWorkflowExecution is a Write access-level action in the swf service. Grants permission to record a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId
ARNs that swf:RequestCancelWorkflowExecution can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants swf:RequestCancelWorkflowExecution.
Filters access by tag of the resource
A minimal policy that allows swf:RequestCancelWorkflowExecution. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSwfRequestCancelWorkflowExecution",
"Effect": "Allow",
"Action": "swf:RequestCancelWorkflowExecution",
"Resource": "*"
}
]
}