class Lono::Cfn
Public Instance Methods
cancel(stack)
click to toggle source
# File lib/lono/cfn.rb, line 39 def cancel(stack) Cancel.new(options.merge(stack: stack)).run end
create(stack)
click to toggle source
# File lib/lono/cfn.rb, line 11 def create(stack) Create.new(options.merge(stack: stack)).run end
current()
click to toggle source
# File lib/lono/cfn.rb, line 63 def current Current.new(options).run end
delete(stack)
click to toggle source
# File lib/lono/cfn.rb, line 32 def delete(stack) Delete.new(options.merge(stack: stack)).run end
deploy(stack)
click to toggle source
# File lib/lono/cfn.rb, line 25 def deploy(stack) Deploy.new(options.merge(stack: stack)).run end
download(stack)
click to toggle source
# File lib/lono/cfn.rb, line 55 def download(stack) Download.new(options.merge(stack: stack)).run end
preview(stack)
click to toggle source
# File lib/lono/cfn.rb, line 46 def preview(stack) Preview::Param.new(options.merge(stack: stack)).run if options[:param_preview] Preview::Codediff.new(options.merge(stack: stack)).run if options[:codediff_preview] Preview::Changeset.new(options.merge(stack: stack)).run if options[:changeset_preview] end
status(stack)
click to toggle source
# File lib/lono/cfn.rb, line 69 def status(stack) status = Lono::Cfn::Status.new(stack, options) success = status.run exit 3 unless success end
update(stack)
click to toggle source
# File lib/lono/cfn.rb, line 18 def update(stack) Update.new(options.merge(stack: stack)).run end