Class: AWSCDK::Pipes::CfnPipe::PipeTargetStateMachineParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pipes/cfn_pipe.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(invocation_type: nil) ⇒ PipeTargetStateMachineParametersProperty

Returns a new instance of PipeTargetStateMachineParametersProperty.

Parameters:

  • invocation_type (String, nil) (defaults to: nil)

    Specify whether to invoke the Step Functions state machine synchronously or asynchronously.



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_typeString? (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_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 .



3868
3869
3870
# File 'pipes/cfn_pipe.rb', line 3868

def invocation_type
  @invocation_type
end

Class Method Details

.jsii_propertiesObject



3870
3871
3872
3873
3874
# File 'pipes/cfn_pipe.rb', line 3870

def self.jsii_properties
  {
    :invocation_type => "invocationType",
  }
end

Instance Method Details

#to_jsiiObject



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