Configuration
To configure an AWS Step Functions State Machine task:
- Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
- 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.
Complete the following settings:
Common to all tasks
Actions supported by this task:
Create State Machine
Name Specify the state machine name.
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. Update State Machine
State Machine ARN Specify the Amazon Resource Name (ARN) of the state machine. Role ARN see Create State Machine above
Definition see 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
All tasks support Bamboo Variable Substitution/Definition - this task's actions generate variables as follows:
A task's generated variables might get amended with respective AWS API additions over time - a live build log will always provide the most current variable shape accordingly
Create State Machine
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.stepfunctions.statemachine.resources: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot Creating resource variables for state machine 'arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot': ... bamboo.custom.aws.stepfunctions.statemachine.resources.arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot.StateMachineArn: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot ... bamboo.custom.aws.stepfunctions.statemachine.resources.arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot.CreationDate: 20170216T142255Z Creating common variables for first resource affected by task: Creating resource variables for state machine 'arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot': ... bamboo.custom.aws.stepfunctions.statemachine.first.StateMachineArn: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot ... bamboo.custom.aws.stepfunctions.statemachine.first.CreationDate: 20170216T142255Z
Update State Machine
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.stepfunctions.statemachine.resources: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot Creating resource variables for state machine 'arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot': ... bamboo.custom.aws.stepfunctions.statemachine.resources.arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot.StateMachineArn: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot ... bamboo.custom.aws.stepfunctions.statemachine.resources.arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot.UpdateDate: 20180905T114350Z Creating common variables for first resource affected by task: Creating resource variables for state machine 'arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot': ... bamboo.custom.aws.stepfunctions.statemachine.first.StateMachineArn: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-16-ubot ... bamboo.custom.aws.stepfunctions.statemachine.first.UpdateDate: 20180905T114350Z
Delete State Machine
N/A
Start Execution
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.stepfunctions.execution.resources: arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1 Creating resource variables for execution 'arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1': ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.ExecutionArn: arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1 ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.Input: {} ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.Name: TAWS-IT2120-SFCSSD-1-execution-1 ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.Output: [{},{}] ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.StateMachineArn: arn:aws:states:us-east-1:288727192237:stateMachine:taws-it280-1-ubot ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.Status: SUCCEEDED ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.StartDate: 20170216T142255Z ... bamboo.custom.aws.stepfunctions.execution.resources.arn:aws:states:us-east-1:288727192237:execution:taws-it280-1-ubot:TAWS-IT2120-SFCSSD-1-execution-1.StopDate: 20170216T142311Z
Stop Execution
See Start above.
How-to Articles
Frequently Asked Questions (FAQ)
Atlassian account required