Using Console
Using CLI
<security-group-id>
with the ID of the security group identified in step 3.<security-group-id>
with the ID of the security group identified in step 3.Using Python
describe_security_groups
method to get a list of all security groups in your AWS account.