Class: AwsCli::CLI::IAM::Group

Inherits:
Thor
  • Object
show all
Defined in:
lib/awscli/cli/iam/group.rb

Instance Method Summary collapse

Instance Method Details

#createObject



20
21
22
23
# File 'lib/awscli/cli/iam/group.rb', line 20

def create
  create_iam_object
  @iam.create options[:group_name], options[:path]
end

#deleteObject



27
28
29
30
# File 'lib/awscli/cli/iam/group.rb', line 27

def delete
  create_iam_object
  @iam.delete options[:group_name]
end

#listObject



12
13
14
15
# File 'lib/awscli/cli/iam/group.rb', line 12

def list
  create_iam_object
  @iam.list options[:path]
end