AWS::IoT::TopicRule StepFunctionsAction - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoT::TopicRule StepFunctionsAction

Starts execution of a Step Functions state machine.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ExecutionNamePrefix" : String, "RoleArn" : String, "StateMachineName" : String }

YAML

ExecutionNamePrefix: String RoleArn: String StateMachineName: String

Properties

ExecutionNamePrefix

(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.

Required: No

Type: String

Update requires: No interruption

RoleArn

The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").

Required: Yes

Type: String

Update requires: No interruption

StateMachineName

The name of the Step Functions state machine whose execution will be started.

Required: Yes

Type: String

Update requires: No interruption

See also