Using the AWS Step Functions State Machine task in Bamboo


You can use the AWS Step Functions State Machine task to create or delete an AWS Step Functions state machine and start or stop a state machine execution.

Configuration

To configure an AWS Step Functions State Machine task:

  1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
  2. Click the name of an existing AWS Step Functions State Machine task, or click Add Task and then AWS Step Functions State Machine to create a new task.
  3. Complete the following settings:

    1. Common to all tasks

      • Actions supported by this task:

        Create State Machine


        Name

        Specify the state machine name.

        Type

        Select the type of this state machine.

        Role ARN

        Specify the Amazon Resource Name (ARN) of the IAM role to use for this state machine.

        Definition

        Specify the Amazon States Language definition of the state machine.

        (info) Reserved JSON characters in Bamboo variable content need to be escaped at runtime!

        Logging Configuration

        Specify the logging configuration of the state machine.

        (info) Reserved JSON characters in Bamboo variable content need to be escaped at runtime!

        Update State Machine


        State Machine ARNSpecify the Amazon Resource Name (ARN) of the state machine.
        Role ARN

        see Create State Machine above

        Definition

        see Create State Machine above

        Logging Configurationsee Create State Machine above

        Delete State Machine


        State Machine ARN

        see Update State Machine above

        Start Execution


        State Machine ARN

        see Update State Machine above

        Name

        (Optional) Specify a name for the execution.

        Input(Optional) Specify the JSON input data for the execution.
        Await Execution Result Timeout
        Specify how long to await the execution to return a result (seconds, 0 to skip).

        Stop Execution


        Execution ARN
        Specify the Amazon Resource Name (ARN) of the execution.
        Error
        (Optional) Specify an arbitrary error code that identifies the cause of the termination.
        Cause(Optional) Specify a more detailed explanation of the cause of the termination.

Variables

Create State Machine

Update State Machine

Delete State Machine

N/A

Start Execution


Stop Execution

See Start above.

How-to Articles

Frequently Asked Questions (FAQ)