in src/Aspire.Hosting.AWS/CDK/CDKExtensions.cs [219:225]
private static string GetResourceType<T>(IResourceWithConstruct constructResource)
where T : Construct
{
var constructType = constructResource.Construct.GetType();
var baseConstructType = typeof(T);
return constructType == baseConstructType ? baseConstructType.Name : constructType.Name;
}