Module: AWSCDK::IStringProducer
- Defined in:
- i_string_producer.rb
Overview
Interface for lazy string producers.
Class Method Summary collapse
Instance Method Summary collapse
-
#produce(context) ⇒ String?
Produce the string value.
Class Method Details
.jsii_overridable_methods ⇒ Object
16 17 18 19 20 |
# File 'i_string_producer.rb', line 16 def self.jsii_overridable_methods { :produce => { kind: :method, name: "produce", is_optional: false }, } end |
Instance Method Details
#produce(context) ⇒ String?
Produce the string value.
11 12 13 14 |
# File 'i_string_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 |