IStateMachine

class aws_cdk.aws_stepfunctions.IStateMachine(*args, **kwargs)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

A State Machine.

__init__(*args, **kwargs)

Methods

grant(identity, *actions)

Grant the given identity custom permissions.

Parameters
  • identity (IGrantable) – The principal.

  • actions (str) – The list of desired actions.

Return type

Grant

grant_execution(identity, *actions)

Grant the given identity permissions for all executions of a state machine.

Parameters
  • identity (IGrantable) – The principal.

  • actions (str) – The list of desired actions.

Return type

Grant

grant_read(identity)

Grant the given identity read permissions for this state machine.

Parameters

identity (IGrantable) – The principal.

Return type

Grant

grant_start_execution(identity)

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

Parameters

identity (IGrantable) – The principal.

Return type

Grant

grant_task_response(identity)

Grant the given identity read permissions for this state machine.

Parameters

identity (IGrantable) – The principal.

Return type

Grant

Attributes

node

The construct tree node for this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

state_machine_arn

The ARN of the state machine.

attribute: :attribute:: true

Return type

str