@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
16 lines (13 loc) • 499 B
text/typescript
import { IHealth, ILoadBalancerHealth } from '@spinnaker/core';
export interface IAmazonHealth extends IHealth {
targetGroups: IAmazonTargetGroupHealth[];
}
export interface IAmazonTargetGroupHealth extends ILoadBalancerHealth {
// targetGroups[] have a 'targetGroupName' but not a 'name' field
targetGroupName: string;
name: never;
// Augmented to backend data in applyHealthCheckInfoToTargetGroups()
healthCheckProtocol?: string;
healthCheckPath?: string;
instanceId?: string;
}