class Sfn::Command::Graph::Provider::Aws::AwsGraphProcessor
Constants
- FN_MAPPING
- MAP
- REF_MAPPING
Attributes
name[RW]
Public Class Methods
new(template, args = {})
click to toggle source
Calls superclass method
# File lib/sfn/command/graph/aws.rb, line 16 def initialize(template, args = {}) super @name = args[:name] end
Public Instance Methods
apply_function(hash, funcs = [])
click to toggle source
# File lib/sfn/command/graph/aws.rb, line 21 def apply_function(hash, funcs = []) k, v = hash.first if hash.size == 1 case k when "Ref" parameters.key?(v) ? parameters[v] : hash when "Fn::Join" v.last when "Fn::Select" v.last[v.first.to_i] else hash end else hash end end