Class: CloudFormation::Bridge::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/cloud_formation/bridge/cli.rb

Instance Method Summary collapse

Instance Method Details

#start(queue_name) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/cloud_formation/bridge/cli.rb', line 11

def start(queue_name)
  STDOUT.sync = true

  Util::LOGGER.info("Starting cfn-bridge with queue #{queue_name} - version #{CloudFormation::Bridge::VERSION}")

  poller = CloudFormation::Bridge::Poller.new(queue_name)
  poller.start
end