Class CfnTopicRule.StepFunctionsActionProperty
Starts execution of a Step Functions state machine.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StepFunctionsActionProperty : Object, CfnTopicRule.IStepFunctionsActionProperty
Syntax (vb)
Public Class StepFunctionsActionProperty
Inherits Object
Implements CfnTopicRule.IStepFunctionsActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var stepFunctionsActionProperty = new StepFunctionsActionProperty {
RoleArn = "roleArn",
StateMachineName = "stateMachineName",
// the properties below are optional
ExecutionNamePrefix = "executionNamePrefix"
};
Synopsis
Constructors
Step |
Properties
Execution |
(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. |
Role |
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution"). |
State |
The name of the Step Functions state machine whose execution will be started. |
Constructors
StepFunctionsActionProperty()
public StepFunctionsActionProperty()
Properties
ExecutionNamePrefix
(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID.
public string ExecutionNamePrefix { get; set; }
Property Value
System.
Remarks
Step Functions automatically creates a unique name for each state machine execution if one is not provided.
RoleArn
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").
public string RoleArn { get; set; }
Property Value
System.
Remarks
StateMachineName
The name of the Step Functions state machine whose execution will be started.
public string StateMachineName { get; set; }
Property Value
System.