Using Console
Using CLI
<security-group-id>
with the ID of the security group that you want to check.
<security-group-id>
with the ID of the security group that you want to modify, and <ip-permissions>
with the new inbound rules that you want to add.
<security-group-id>
with the ID of the security group that you want to modify, and <ip-permissions>
with the new outbound rules that you want to add.
Using Python