class Awsrm::SecurityGroup

Constants

FILTER_MAP

Public Class Methods

all(params) click to toggle source
# File lib/awsrm/resources/security_group.rb, line 12
def all(params)
  res = ec2_client.describe_security_groups(
    filters: filters(params)
  )
  res.security_groups.map do |sg|
    SecurityGroupReader.new(sg)
  end
end