class Aws::Endpoints::Rule

def resolve_value(value, parameters, assigns)

Resolves a value that is a function, reference, or template string.
def resolve_value(value, parameters, assigns)
  if value.is_a?(Hash) && value['fn']
    Function.new(fn: value['fn'], argv: value['argv'])
            .call(parameters, assigns)
  elsif value.is_a?(Hash) && value['ref']
    Reference.new(ref: value['ref']).resolve(parameters, assigns)
  else
    Templater.resolve(value, parameters, assigns)
  end
end