states:GetExecutionHistory

Read

states:GetExecutionHistory is a Read access-level action in the states service. Grants permission to return the history of the specified execution as a list of events

Resource types

ARNs that states:GetExecutionHistory can be scoped to in an IAM policy.

arn:${Partition}:states:${Region}:${Account}:execution:${StateMachineName}:${ExecutionId}
execution

Condition keys

Keys you can use in the Condition block of a policy that grants states:GetExecutionHistory.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowStatesGetExecutionHistory",
      "Effect": "Allow",
      "Action": "states:GetExecutionHistory",
      "Resource": "*"
    }
  ]
}

Related actions in states

View all states actions →