Class: AWSCDK::Pipes::CfnPipe::PipeTargetStateMachineParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::PipeTargetStateMachineParametersProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
The parameters for using a Step Functions state machine as a target.
Instance Attribute Summary collapse
-
#invocation_type ⇒ String?
readonly
Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(invocation_type: nil) ⇒ PipeTargetStateMachineParametersProperty
constructor
A new instance of PipeTargetStateMachineParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(invocation_type: nil) ⇒ PipeTargetStateMachineParametersProperty
Returns a new instance of PipeTargetStateMachineParametersProperty.
3851 3852 3853 3854 |
# File 'pipes/cfn_pipe.rb', line 3851 def initialize(invocation_type: nil) @invocation_type = invocation_type Jsii::Type.check_type(@invocation_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "invocationType") unless @invocation_type.nil? end |
Instance Attribute Details
#invocation_type ⇒ String? (readonly)
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_RESPONSEis not supported forSTANDARDstate 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 .
3868 3869 3870 |
# File 'pipes/cfn_pipe.rb', line 3868 def invocation_type @invocation_type end |
Class Method Details
.jsii_properties ⇒ Object
3870 3871 3872 3873 3874 |
# File 'pipes/cfn_pipe.rb', line 3870 def self.jsii_properties { :invocation_type => "invocationType", } end |
Instance Method Details
#to_jsii ⇒ Object
3876 3877 3878 3879 3880 3881 3882 |
# File 'pipes/cfn_pipe.rb', line 3876 def to_jsii result = {} result.merge!({ "invocationType" => @invocation_type, }) result.compact end |