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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠