Actions, resources, and condition keys for AWS Step Functions
AWS Step Functions (service prefix: states) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Step Functions
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateActivity |
Write |
|||
Tagging, Write |
||||
|
CreateStateMachine |
Write |
|||
Write |
||||
Tagging, Write |
||||
iam:PassedToService |
states.amazonaws.com |
Write |
||
|
CreateStateMachineAlias |
Write |
|||
|
DeleteActivity |
Write |
|||
|
DeleteStateMachine |
Write |
|||
|
DeleteStateMachineAlias |
Write |
|||
|
DeleteStateMachineVersion |
Write |
|||
|
DescribeActivity |
Read |
|||
|
DescribeExecution |
Read |
|||
|
DescribeMapRun |
Read |
|||
|
DescribeStateMachine |
Read |
|||
|
DescribeStateMachineAlias |
Read |
|||
|
DescribeStateMachineForExecution |
Read |
|||
|
GetActivityTask |
Write |
|||
|
GetExecutionHistory |
Read |
|||
|
ListActivities |
List |
|||
|
ListExecutions |
List |
|||
|
ListMapRuns |
List |
|||
|
ListStateMachineAliases |
List |
|||
|
ListStateMachineVersions |
List |
|||
|
ListStateMachines |
List |
|||
|
ListTagsForResource |
List |
|||
|
PublishStateMachineVersion |
Write |
|||
|
RedriveExecution |
Write |
|||
|
SendTaskFailure |
Write |
|||
|
SendTaskHeartbeat |
Write |
|||
|
SendTaskSuccess |
Write |
|||
|
StartExecution |
Read |
|||
Write |
||||
|
StartSyncExecution |
Write |
|||
|
StopExecution |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
TestState |
Read |
|||
Write |
||||
iam:PassedToService |
states.amazonaws.com |
Write |
||
|
UntagResource |
Tagging, Write |
|||
|
UpdateMapRun |
Write |
|||
|
UpdateStateMachine |
Write |
|||
Write |
||||
iam:PassedToService |
states.amazonaws.com |
Write |
||
|
UpdateStateMachineAlias |
Write |
|||
|
ValidateStateMachineDefinition |
Read |
Actions defined by AWS Step Functions
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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create an activity |
Write |
|||
Grants permission to create a state machine |
Write |
|||
Grants permission to create a state machine alias |
Write |
|||
Grants permission to delete an activity |
Write |
|||
Grants permission to delete a state machine |
Write |
|||
Grants permission to delete a state machine alias |
Write |
|||
Grants permission to delete a state machine version |
Write |
|||
Grants permission to describe an activity |
Read |
|||
Grants permission to describe an execution |
Read |
|||
Grants permission to describe a map run |
Read |
|||
Grants permission to describe a state machine |
Read |
|||
Grants permission to describe a state machine alias |
Read |
|||
Grants permission to describe the state machine for an execution |
Read |
|||
Grants permission to be used by workers to retrieve a task (with the specified activity ARN) which has been scheduled for execution by a running state machine |
Write |
|||
Grants permission to return the history of the specified execution as a list of events |
Read |
|||
Grants permission to list the existing activities |
List |
|||
Grants permission to list the executions of a state machine |
List |
|||
|
|