how to get details of security group

0

Hi, we would like to know is there any way to find out if the security group is in use or not or in short to which resource this security group is associated.we did tried to find out for example using aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> but this does not help us much.

Thanks Dilip

2 個答案
1

Hi Dilip.

This Knowledge Center article goes into more depth on what commands need to be run after the aws ec2 describe-network-interfaces command.

AWS
專家
已回答 2 年前
profile pictureAWS
專家
已審閱 2 年前
1

Hello Dilip, This will definitely show you all the resources your security group is associated with aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> --region <region> --output json --query 'NetworkInterfaces'

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南