class CfnEvents::Config
Attributes
cfn_client[RW]
Stronger builder pattern would be nice
client_options[RW]
Stronger builder pattern would be nice
forever[RW]
Stronger builder pattern would be nice
output_json[RW]
Stronger builder pattern would be nice
poll_seconds[RW]
Stronger builder pattern would be nice
since[RW]
Stronger builder pattern would be nice
stack_name_or_id[RW]
Stronger builder pattern would be nice
wait[RW]
Stronger builder pattern would be nice
Public Class Methods
new()
click to toggle source
# File lib/cfn-events/config.rb, line 10 def initialize @client_options = {} @since = nil @output_json = false @wait = false @forever = false @poll_seconds = 5 end
Public Instance Methods
build()
click to toggle source
# File lib/cfn-events/config.rb, line 19 def build if !@stack_name_or_id raise "Missing stack_name_or_id" end if @wait and @forever raise "wait and forever cannot be combined" end self end