Skip to content
v2.278.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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pipes as pipes

pipe_target_state_machine_parameters_property = pipes.CfnPipe.PipeTargetStateMachineParametersProperty(
    invocation_type="invocationType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.*;

PipeTargetStateMachineParametersProperty pipeTargetStateMachineParametersProperty = PipeTargetStateMachineParametersProperty.builder()
        .invocationType("invocationType")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes;

var pipeTargetStateMachineParametersProperty = new PipeTargetStateMachineParametersProperty {
    InvocationType = "invocationType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

pipeTargetStateMachineParametersProperty := &PipeTargetStateMachineParametersProperty{
	InvocationType: jsii.String("invocationType"),
}

Properties ​

invocationTypeoptionalstringinvocation_typeoptionalstrinvocationTypeoptionalStringInvocationTypeoptionalstringInvocationTypeoptional*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 .