Class: Lono::Cfn
- Inherits:
-
Command
show all
- Defined in:
- lib/lono/cfn.rb,
lib/lono/cfn/status.rb,
lib/lono/cfn/current.rb
Defined Under Namespace
Modules: AwsService, Util
Classes: Base, Create, Current, Delete, Diff, Download, Preview, Status, Update
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, website
Instance Method Details
#create(stack_name) ⇒ Object
37
38
39
|
# File 'lib/lono/cfn.rb', line 37
def create(stack_name)
Create.new(stack_name, options).run
end
|
#current ⇒ Object
92
93
94
|
# File 'lib/lono/cfn.rb', line 92
def current
Current.new(options).run
end
|
#delete(stack_name = :current) ⇒ Object
58
59
60
|
# File 'lib/lono/cfn.rb', line 58
def delete(stack_name=:current)
Delete.new(stack_name, options).run
end
|
#diff(stack_name = :current) ⇒ Object
75
76
77
|
# File 'lib/lono/cfn.rb', line 75
def diff(stack_name=:current)
Diff.new(stack_name, options).run
end
|
#download(stack_name = :current) ⇒ Object
83
84
85
|
# File 'lib/lono/cfn.rb', line 83
def download(stack_name=:current)
Download.new(stack_name, options).run
end
|
#preview(stack_name = :current) ⇒ Object
67
68
69
70
|
# File 'lib/lono/cfn.rb', line 67
def preview(stack_name=:current)
Diff.new(stack_name, options).run if options[:diff]
Preview.new(stack_name, options).run
end
|
#status(stack_name = :current) ⇒ Object
98
99
100
|
# File 'lib/lono/cfn.rb', line 98
def status(stack_name=:current)
Status.new(stack_name, options).run
end
|
#update(stack_name = :current) ⇒ Object
49
50
51
|
# File 'lib/lono/cfn.rb', line 49
def update(stack_name=:current)
Update.new(stack_name, options).run
end
|