class DrawCloud::GetAttFunc
Attributes
attribute_name[RW]
resource[RW]
Public Class Methods
new(resource, attribute_name)
click to toggle source
# File lib/draw_cloud/get_att_func.rb, line 22 def initialize(resource, attribute_name) @resource = resource @attribute_name = attribute_name end
Public Instance Methods
ref()
click to toggle source
# File lib/draw_cloud/get_att_func.rb, line 27 def ref {"Fn::GetAtt" => [DrawCloud.resource_name(resource), DrawCloud.resource_style(attribute_name)]} end