StateMachineGrants

class aws_cdk.aws_stepfunctions.StateMachineGrants(*args: Any, **kwargs)

Bases: object

Collection of grant methods for a IStateMachineRef.

Methods

actions(identity, *actions)

Grant the given identity custom permissions.

Parameters:
Return type:

Grant

execution(grantee, *actions)

Grant the given identity permissions to start an execution of this state machine.

Parameters:
  • grantee (IGrantable) – The principal.

  • actions (str)

Return type:

Grant

read(grantee)

Grant the given identity permissions to read results from state machine.

Parameters:

grantee (IGrantable)

Return type:

Grant

redrive_execution(grantee)

Grant the given identity permission to redrive the execution of the state machine.

Parameters:

grantee (IGrantable)

Return type:

Grant

start_execution(grantee)

Grant the given identity permissions to start an execution of this state machine.

Parameters:

grantee (IGrantable) – The principal.

Return type:

Grant

start_sync_execution(grantee)

Grant the given identity permissions to start a synchronous execution of this state machine.

Parameters:

grantee (IGrantable) – The principal.

Return type:

Grant

task_response(grantee)

Grant the given identity task response permissions on a state machine.

Parameters:

grantee (IGrantable)

Return type:

Grant