This might be what you are looking for:
UPROPERTY(meta=(AllowedTypes="abc"))
https://benui.ca/unreal/uproperty/