Class: AwsCli::CLI::AS::Policies

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

Instance Method Summary collapse

Instance Method Details

#createObject



19
20
21
22
# File 'lib/awscli/cli/as/policies.rb', line 19

def create
  create_as_object
  @as.create options
end

#deleteObject



27
28
29
30
# File 'lib/awscli/cli/as/policies.rb', line 27

def delete
  create_as_object
  @as.destroy options[:id], options[:auto_scaling_group_name]
end

#listObject



8
9
10
11
# File 'lib/awscli/cli/as/policies.rb', line 8

def list
  create_as_object
  @as.list
end