Class: AwsCli::CLI::AS::Groups

Inherits:
Thor
  • Object
show all
Defined in:
lib/awscli/cli/as/groups.rb

Instance Method Summary collapse

Instance Method Details

#createObject



29
30
31
32
# File 'lib/awscli/cli/as/groups.rb', line 29

def create
  create_as_object
  @as.create options
end

#deleteObject



37
38
39
40
# File 'lib/awscli/cli/as/groups.rb', line 37

def delete
  create_as_object
  @as.delete options
end

#listObject



9
10
11
12
# File 'lib/awscli/cli/as/groups.rb', line 9

def list
  create_as_object
  @as.list options
end

#resumeObject



78
79
80
81
# File 'lib/awscli/cli/as/groups.rb', line 78

def resume
  create_as_object
  @as.resume_processes options
end

#scaleObject



45
46
47
48
# File 'lib/awscli/cli/as/groups.rb', line 45

def scale
  create_as_object
  @as.set_desired_capacity options
end

#suspendObject



70
71
72
73
# File 'lib/awscli/cli/as/groups.rb', line 70

def suspend
  create_as_object
  @as.suspend_processes options
end