예제 #1
0
파일: types.py 프로젝트: darkseed/ec2
 def _all(cls):
     "Grab all AWS Security Groups"
     return get_connection().get_all_security_groups()
예제 #2
0
파일: types.py 프로젝트: vishnugonela/ec2
 def _all(cls):
     "Grab all AWS Security Groups"
     return get_connection().get_all_security_groups()
예제 #3
0
파일: types.py 프로젝트: darkseed/ec2
 def _all(cls):
     "Grab all AWS instances"
     return [i for r in get_connection().get_all_instances() for i in r.instances]
예제 #4
0
파일: types.py 프로젝트: vishnugonela/ec2
 def _all(cls):
     "Grab all AWS instances"
     return [
         i for r in get_connection().get_all_instances()
         for i in r.instances
     ]