Module: AWSCDK::IListProducer

Defined in:
i_list_producer.rb

Overview

Interface for lazy list producers.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



16
17
18
19
20
# File 'i_list_producer.rb', line 16

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

Instance Method Details

#produce(context) ⇒ Array<String>?

Produce the list value.

Parameters:

Returns:

  • (Array<String>, nil)


11
12
13
14
# File 'i_list_producer.rb', line 11

def produce(context)
  Jsii::Type.check_type(context, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5JUmVzb2x2ZUNvbnRleHQifQ==")), "context")
  jsii_call_method("produce", [context])
end