Identify Amazon Transit Gateway referenced security groups
To determine if your security group is being referenced in the rules of a security group in a VPC attached to the same transit gateway, use one of the following commands.
-
describe-security-group-references (Amazon CLI)
-
Get-EC2SecurityGroupReference (Amazon Tools for Windows PowerShell)