The data type of Redshift Serverless Workgroup's endpoint attribute

I would like to know why the data type of the attribute endpoint of the resource aws_redshiftserverless_workgroup is a list of maps instead of single map.
In the response data schema of the Quick Sight’s GetWorkgroup API, the data type of .workgroup.endpoint is single object, so I don’t understand this difference.
(ref. GetWorkgroup - Amazon Redshift Serverless )