aws-spot-price
Version:
CLI utility to list current global AWS EC2 Spot Instance prices.
9 lines (8 loc) • 720 B
TypeScript
export declare const allPlatforms: ("Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "SUSE Linux" | "SUSE Linux (Amazon VPC)" | "Red Hat Enterprise Linux" | "Red Hat Enterprise Linux (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)")[];
export type Platform = (typeof allPlatforms)[number];
export declare const platformWildcards: {
readonly linux: readonly ["Linux/UNIX", "Linux/UNIX (Amazon VPC)", "SUSE Linux", "SUSE Linux (Amazon VPC)", "Red Hat Enterprise Linux", "Red Hat Enterprise Linux (Amazon VPC)"];
readonly windows: readonly ["Windows", "Windows (Amazon VPC)"];
};
export type PlatformsWildcards = keyof typeof platformWildcards;
export declare const instanceOfPlatforms: (pd: string) => pd is Platform;