Module: AWSCDK::IPostProcessor

Defined in:
i_post_processor.rb

Overview

A Token that can post-process the complete resolved value, after resolve() has recursed over it.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



18
19
20
21
22
# File 'i_post_processor.rb', line 18

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

Instance Method Details

#post_process(input, context) ⇒ Object

Process the completely resolved value, after full recursion/resolution has happened.

Parameters:

Returns:

  • (Object)


12
13
14
15
16
# File 'i_post_processor.rb', line 12

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