Class: AWSCDK::AppSync::CfnChannelNamespace::LambdaConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnChannelNamespace::LambdaConfigProperty
- Defined in:
- app_sync/cfn_channel_namespace.rb
Overview
The LambdaConfig property type specifies the integration configuration for a Lambda data source.
Instance Attribute Summary collapse
-
#invoke_type ⇒ String
readonly
The invocation type for a Lambda data source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(invoke_type:) ⇒ LambdaConfigProperty
constructor
A new instance of LambdaConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(invoke_type:) ⇒ LambdaConfigProperty
Returns a new instance of LambdaConfigProperty.
775 776 777 778 |
# File 'app_sync/cfn_channel_namespace.rb', line 775 def initialize(invoke_type:) @invoke_type = invoke_type Jsii::Type.check_type(@invoke_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "invokeType") end |
Instance Attribute Details
#invoke_type ⇒ String (readonly)
The invocation type for a Lambda data source.
784 785 786 |
# File 'app_sync/cfn_channel_namespace.rb', line 784 def invoke_type @invoke_type end |
Class Method Details
.jsii_properties ⇒ Object
786 787 788 789 790 |
# File 'app_sync/cfn_channel_namespace.rb', line 786 def self.jsii_properties { :invoke_type => "invokeType", } end |
Instance Method Details
#to_jsii ⇒ Object
792 793 794 795 796 797 798 |
# File 'app_sync/cfn_channel_namespace.rb', line 792 def to_jsii result = {} result.merge!({ "invokeType" => @invoke_type, }) result.compact end |