function resourceTypeToRoute(resourceTypeId) {
        const resourceName = getResourceTypeName(resourceTypeId);

        switch (resourceName) {
            case 'EC2 Instance':
                return 'instance.details';

            case 'EBS Volume':
                return 'ebs.details';

            case 'DNS Zone':
                return 'dns.zone.details';

            case 'Elastic Load Balancer':
                return 'elb.details';

            default:
                return undefined;
            // case 'DNS Record':
            // case 'AMI':
            // case 'CloudFront Distribution':
            // case 'EBS Snapshot':
            // case 'Elastic BeanStalk':
            // case 'S3 Bucket':
            // case 'AWS VPC':
        }
    }
/**
     * Return the route information for a resource detail view
     * @param {number} resourceTypeId Resource type id to look up name for
     * @returns {(string|undefined)}
     */
Return the route information for a resource detail view
@param {number} resourceTypeId Resource type id to look up name for
@returns {(string|undefined)}
Return the route information for a resource detail view @param { number } resourceTypeId Resource type id to look up name for @returns { ( string|undefined ) }
function resourceTypeToRoute(resourceTypeId) {
        const resourceName = getResourceTypeName(resourceTypeId);
        switch (resourceName) {
            case 'EC2 Instance':
                return 'instance.details';
            case 'EBS Volume':
                return 'ebs.details';
            case 'DNS Zone':
                return 'dns.zone.details';
            case 'Elastic Load Balancer':
                return 'elb.details';
            default:
                return undefined;
        }
    }
function resourceTypeToRoute ( resourceTypeId ) { const resourceName = getResourceTypeName ( resourceTypeId ) ; switch ( resourceName ) { case 'EC2 Instance' : return 'instance.details' ; case 'EBS Volume' : return 'ebs.details' ; case 'DNS Zone' : return 'dns.zone.details' ; case 'Elastic Load Balancer' : return 'elb.details' ; default : return undefined ; } }
Return the route information for a resource detail view
 @param {number} resourceTypeId Resource type id to look up name for
 @returns {(string|undefined)}
Return the route information for a resource detail view @param { number } resourceTypeId Resource type id to look up name for @returns { ( string|undefined ) }
// case 'DNS Record': // case 'AMI': // case 'CloudFront Distribution': // case 'EBS Snapshot': // case 'Elastic BeanStalk': // case 'S3 Bucket': // case 'AWS VPC':