HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/ec2/describe-security-group-references.rst
**To describe security group references**

This example describes the security group references for ``sg-bbbb2222``. The response indicates that security group ``sg-bbbb2222`` is being referenced by a security group in VPC ``vpc-aaaaaaaa``.

Command::

  aws ec2 describe-security-group-references --group-id sg-bbbbb22222

Output::

  {    
    "SecurityGroupsReferenceSet": [
      {
        "ReferencingVpcId": "vpc-aaaaaaaa ",
        "GroupId": "sg-bbbbb22222", 
        "VpcPeeringConnectionId": "pcx-b04deed9"      
      }   
    ]
  }