interface PipeTargetStateMachineParametersProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pipes.CfnPipe.PipeTargetStateMachineParametersProperty |
![]() | software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetStateMachineParametersProperty |
![]() | aws_cdk.aws_pipes.CfnPipe.PipeTargetStateMachineParametersProperty |
![]() | @aws-cdk/aws-pipes » CfnPipe » PipeTargetStateMachineParametersProperty |
The parameters for using a Step Functions state machine as a target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes from '@aws-cdk/aws-pipes';
const pipeTargetStateMachineParametersProperty: pipes.CfnPipe.PipeTargetStateMachineParametersProperty = {
invocationType: 'invocationType',
};
Properties
Name | Type | Description |
---|---|---|
invocation | string | Specify whether to invoke the Step Functions state machine synchronously or asynchronously. |
invocationType?
Type:
string
(optional)
Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
REQUEST_RESPONSE
(default) - Invoke synchronously. For more information, see StartSyncExecution in the AWS Step Functions API Reference .
REQUEST_RESPONSE
is not supported forSTANDARD
state machine workflows.
FIRE_AND_FORGET
- Invoke asynchronously. For more information, see StartExecution in the AWS Step Functions API Reference .
For more information, see Invocation types in the Amazon EventBridge User Guide .