swf:CountOpenWorkflowExecutions

Read

swf:CountOpenWorkflowExecutions is a Read access-level action in the swf service. Grants permission to return the number of open workflow executions within the given domain that meet the specified filtering criteria

Resource types

ARNs that swf:CountOpenWorkflowExecutions can be scoped to in an IAM policy.

arn:${Partition}:swf::${Account}:/domain/${DomainName} required
domain

Condition keys

Keys you can use in the Condition block of a policy that grants swf:CountOpenWorkflowExecutions.

swf:tagFilter.tag String

Filters access by the value of tagFilter.tag

swf:typeFilter.name String

Filters access by the name of the type filter

swf:typeFilter.version String

Filters access by the version of the type filter

aws:ResourceTag/${TagKey} String

Filters access by tag of the resource

Example IAM policy

A minimal policy that allows swf:CountOpenWorkflowExecutions. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSwfCountOpenWorkflowExecutions",
      "Effect": "Allow",
      "Action": "swf:CountOpenWorkflowExecutions",
      "Resource": "*"
    }
  ]
}

Related actions in swf

View all swf actions →