swf:RespondActivityTaskCompleted

Write

swf:RespondActivityTaskCompleted is a Write access-level action in the swf service. Grants permission to workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided)

Resource types

ARNs that swf:RespondActivityTaskCompleted 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:RespondActivityTaskCompleted.

swf:activityType.name String

Filters access by the name of the activity type

swf:activityType.version String

Filters access by the version of the activity type

swf:tagList.member.0 String

Filters access by the specified tag

swf:tagList.member.1 String

Filters access by the specified tag

swf:tagList.member.2 String

Filters access by the specified tag

swf:tagList.member.3 String

Filters access by the specified tag

swf:tagList.member.4 String

Filters access by the specified tag

swf:taskList.name String

Filters access by the name of the tasklist

swf:workflowType.name String

Filters access by the name of the workflow type

swf:workflowType.version String

Filters access by the version of the workflow type

aws:ResourceTag/${TagKey} String

Filters access by tag of the resource

Example IAM policy

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

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

Related actions in swf

View all swf actions →