You can use the following command to see the description of your security group.
aws ec2 describe-security-groups --group-ids sg-0587e1bghy67bb5d43
{
"SecurityGroups": [
{
"Description": "My security group",
"GroupName": "my-sg",
"IpPermissions": [],
"OwnerId": "24537890989895",
"GroupId": "sg-0587e1bghy67bb5d43",
"IpPermissionsEgress": [
{
"IpProtocol": "-1",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"UserIdGroupPairs": []
}
],
"VpcId": "vpc-0f137be1456thyda16"
}
]
}
This is the way you will get your description. This will give a brief idea about what is the VPC-Id and Owner Id etc.