toResourceType method
Implementation
ResourceType toResourceType() {
switch (this) {
case 'APPLICATION_LOAD_BALANCER':
return ResourceType.applicationLoadBalancer;
case 'API_GATEWAY':
return ResourceType.apiGateway;
case 'APPSYNC':
return ResourceType.appsync;
}
throw Exception('$this is not known in enum ResourceType');
}