describeSecurityGroupReferences

Describes the VPCs on the other side of a VPC peering connection or the VPCs attached to a transit gateway that are referencing the security groups you've specified in this request.

Samples


fun main() { 
   //sampleStart 
   // This example describes the security group references for the specified security group.
val resp = ec2Client.describeSecurityGroupReferences {
    groupId = listOf<String>(
        "sg-903004f8"
    )
} 
   //sampleEnd
}