class DrawCloud::Map::MapLookup

Attributes

key[RW]
map[RW]

Public Class Methods

new(map, key) click to toggle source
# File lib/draw_cloud/map.rb, line 23
def initialize(map, key)
  @map = map
  @key = key
end

Public Instance Methods

ref() click to toggle source
# File lib/draw_cloud/map.rb, line 28
def ref
  {"Fn::FindInMap" => [map.resource_name, map.function_resource, key]}
end