我可以使用get_all_security_groups()列出所有安全组
我还可以列出安全组的入站规则。但我还想使用boto查看规则(入站规则)的源代码。
我试图在google上查找,但看不到任何方法来查看入站规则的源代码。
如果有人知道,请分享
发布于 2013-07-11 16:07:38
最终得到解决方案
for group in self.conn.get_all_security_groups():
for rule in group.rules:
print dir(rule)
for grant in rule.grants:
print dir(grant)感谢boto用户邮件列表
https://stackoverflow.com/questions/17569836
复制相似问题