Class: AWSCDK::Pipes::CfnPipe::PipeTargetLambdaFunctionParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::PipeTargetLambdaFunctionParametersProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
The parameters for using a Lambda function as a target.
Instance Attribute Summary collapse
-
#invocation_type ⇒ String?
readonly
Specify whether to invoke the function synchronously or asynchronously.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(invocation_type: nil) ⇒ PipeTargetLambdaFunctionParametersProperty
constructor
A new instance of PipeTargetLambdaFunctionParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(invocation_type: nil) ⇒ PipeTargetLambdaFunctionParametersProperty
Returns a new instance of PipeTargetLambdaFunctionParametersProperty.
3484 3485 3486 3487 |
# File 'pipes/cfn_pipe.rb', line 3484 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 function synchronously or asynchronously.
REQUEST_RESPONSE(default) - Invoke synchronously. This corresponds to theRequestResponseoption in theInvocationTypeparameter for the Lambda Invoke API.FIRE_AND_FORGET- Invoke asynchronously. This corresponds to theEventoption in theInvocationTypeparameter for the Lambda Invoke API.
For more information, see Invocation types in the Amazon EventBridge User Guide .
3498 3499 3500 |
# File 'pipes/cfn_pipe.rb', line 3498 def invocation_type @invocation_type end |
Class Method Details
.jsii_properties ⇒ Object
3500 3501 3502 3503 3504 |
# File 'pipes/cfn_pipe.rb', line 3500 def self.jsii_properties { :invocation_type => "invocationType", } end |
Instance Method Details
#to_jsii ⇒ Object
3506 3507 3508 3509 3510 3511 3512 |
# File 'pipes/cfn_pipe.rb', line 3506 def to_jsii result = {} result.merge!({ "invocationType" => @invocation_type, }) result.compact end |