def METHOD_NAME():
    group_resp = ec2_client.describe_security_groups(
        Filters=[
            {"Name": "vpc-id", "Values": [vpc.id]},
            {
                "Name": "group-name",
                "Values": [
                    "ElasticMapReduce-Master-Private",
                    "ElasticMapReduce-Slave-Private",
                    "ElasticMapReduce-ServiceAccess",
                ],
            },
        ]
    )
    return group_resp.get("SecurityGroups", [])