Module: AWS::StackOutput
- Defined in:
- lib/aws_metadata/cfn_stack_output.rb
Overview
Note:
Dynamic methods are generated from the underscored value of the Output Keys.
Class Method Summary collapse
-
.get ⇒ Object
Makes the call to get the Stack Template’s Outputs and dynamically creates methods for each Output.
Class Method Details
.get ⇒ Object
Makes the call to get the Stack Template’s Outputs and dynamically creates methods for each Output.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/aws_metadata/cfn_stack_output.rb', line 8 def self.get stack_outputs.each do |o| ( class << StackOutput; self end).class_eval do define_method(o.output_key.to_s.underscore.to_sym) { o.output_value } end end end |