interface StepFunctionsActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnTopicRulePropsMixin.StepFunctionsActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnTopicRulePropsMixin_StepFunctionsActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.StepFunctionsActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnTopicRulePropsMixin.StepFunctionsActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » CfnTopicRulePropsMixin » StepFunctionsActionProperty |
Starts execution of a Step Functions state machine.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const stepFunctionsActionProperty: iot.CfnTopicRulePropsMixin.StepFunctionsActionProperty = {
executionNamePrefix: 'executionNamePrefix',
roleArn: 'roleArn',
stateMachineName: 'stateMachineName',
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. |
| role | string | The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution"). |
| state | string | The name of the Step Functions state machine whose execution will be started. |
executionNamePrefix?
Type:
string
(optional)
(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.
roleArn?
Type:
string
(optional)
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").
stateMachineName?
Type:
string
(optional)
The name of the Step Functions state machine whose execution will be started.

.NET
Go
Java
Python
TypeScript