Skip to content
v2.273.0

PipeTargetStateMachineParametersProperty Struct ​

The parameters for using a Step Functions state machine as a target.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeTargetStateMachineParametersProperty: pipes.CfnPipe.PipeTargetStateMachineParametersProperty = {
  invocationType: 'invocationType',
};

Properties ​

invocationTypestringinvocation_typestrinvocationTypeStringInvocationTypestringInvocationType*string#
Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
notes
  • REQUEST_RESPONSE (default) - Invoke synchronously. For more information, see StartSyncExecution in the AWS Step Functions API Reference .

REQUEST_RESPONSE is not supported for STANDARD 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 .