authorize_security_group 和 authorize_security_groupingress aws ec2 之间有什么区别
What is different between authorize_security_group and authorize_security_group_ingress aws ec2
我找不到关于 authorize_security_group()
方法的文档,仅针对 ingress
和 egress
方法。
如果我使用 authorize_security_group()
方法,有人可以简要介绍一下吗,它的默认值是什么? ingress
或 egress
?
入口。
您正在为您的入口规则授权一个安全组。要将安全组添加到出口规则,您必须使用 authorize_security_group_egress().
考虑切换到 boto3。上面的函数是 boto,它是一个较旧的库。所有主要开发 activity 都在 boto3 中。
我找不到关于 authorize_security_group()
方法的文档,仅针对 ingress
和 egress
方法。
如果我使用 authorize_security_group()
方法,有人可以简要介绍一下吗,它的默认值是什么? ingress
或 egress
?
入口。
您正在为您的入口规则授权一个安全组。要将安全组添加到出口规则,您必须使用 authorize_security_group_egress().
考虑切换到 boto3。上面的函数是 boto,它是一个较旧的库。所有主要开发 activity 都在 boto3 中。