- unmigrated-wiki-markup
Documentation for Tasks for AWS 2.13 – other releases are available in the Tasks for AWS Documentation Directory.
View
or visit the current documentation home.
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.
On this page:
Related Pages:
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.
Delete State Machine
State Machine ARN
Specify the Amazon Resource Name (ARN) of the state machine.
Start Execution
State Machine ARN
see Delete 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
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: 20170216T142255ZDelete 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.