class DrawCloud::WaitHandle
Attributes
count[RW]
name[RW]
timeout[RW]
Public Class Methods
new(name, timeout=nil, options, &block)
click to toggle source
Calls superclass method
DrawCloud::Base::new
# File lib/draw_cloud/wait_handle.rb, line 49 def initialize(name, timeout=nil, options, &block) @name = name @timeout = timeout super(options, &block) end
Public Instance Methods
[](attribute)
click to toggle source
# File lib/draw_cloud/wait_handle.rb, line 55 def [](attribute) fngetatt(condition, attribute) end
condition()
click to toggle source
# File lib/draw_cloud/wait_handle.rb, line 63 def condition WaitCondition.new(self, timeout, count, depends_on) end
load_into_config(config)
click to toggle source
Calls superclass method
DrawCloud::Base#load_into_config
# File lib/draw_cloud/wait_handle.rb, line 67 def load_into_config(config) config.cf_add_resource resource_name, self config.cf_add_resource condition.resource_name, condition super(config) end
resource_name()
click to toggle source
# File lib/draw_cloud/wait_handle.rb, line 59 def resource_name resource_style(name) + "WaitHandle" end
to_h()
click to toggle source
# File lib/draw_cloud/wait_handle.rb, line 73 def to_h # this class is a bit special - standard properties are added manually {"Type" => "AWS::CloudFormation::WaitConditionHandle"} end