Class: AWSCDK::AppSync::CfnChannelNamespace::LambdaConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(invoke_type:) ⇒ LambdaConfigProperty

Returns a new instance of LambdaConfigProperty.

Parameters:

  • invoke_type (String)

    The invocation type for a Lambda data source.



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_typeString (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_propertiesObject



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_jsiiObject



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