import { module } from 'angular' ; import type { IServerGroup } from '@spinnaker/core' ; export class AwsSubnetRenderer { public render ( serverGroup ) { return serverGroup . subnetType ; } } export const SUBNET_RENDERER = 'spinnaker.amazon.subnet.renderer' ; module ( SUBNET_RENDERER , [ ] ) . service ( 'awsSubnetRenderer' , AwsSubnetRenderer ) ;