AWSIoTStepFunctionsAction

@interface AWSIoTStepFunctionsAction

Starts execution of a Step Functions state machine.

Required parameters: [stateMachineName, roleArn]

  • (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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable executionNamePrefix;

    Swift

    var executionNamePrefix: String? { get set }
  • The ARN of the role that grants IoT permission to start execution of a state machine (“Action”:“states:StartExecution”).

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • The name of the Step Functions state machine whose execution will be started.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable stateMachineName;

    Swift

    var stateMachineName: String? { get set }