Module: AWSCDK::Lambda::ISchemaRegistry

Overview

A schema registry for an event source.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



18
19
20
21
22
# File 'lambda/i_schema_registry.rb', line 18

def self.jsii_overridable_methods
  {
    :bind => { kind: :method, name: "bind", is_optional: false },
  }
end

Instance Method Details

#bind(target, target_handler) ⇒ AWSCDK::Lambda::KafkaSchemaRegistryConfig

Returns the schema registry config of the event source.



12
13
14
15
16
# File 'lambda/i_schema_registry.rb', line 12

def bind(target, target_handler)
  Jsii::Type.check_type(target, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGFtYmRhLklFdmVudFNvdXJjZU1hcHBpbmcifQ==")), "target")
  Jsii::Type.check_type(target_handler, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGFtYmRhLklGdW5jdGlvbiJ9")), "targetHandler")
  jsii_call_method("bind", [target, target_handler])
end