@studion/infra-code-blocks
Version:
Studion common infra components
37 lines • 929 B
TypeScript
import * as pulumi from '@pulumi/pulumi';
export type TaskSize = {
cpu: pulumi.Input<number>;
memory: pulumi.Input<number>;
} | keyof typeof PredefinedSize;
export declare function parseTaskSize(size: pulumi.UnwrappedObject<TaskSize>): {
cpu: string;
memory: string;
};
declare const PredefinedSize: {
readonly small: {
readonly cpu: number;
readonly memory: number;
};
readonly medium: {
readonly cpu: number;
readonly memory: 1024;
};
readonly large: {
readonly cpu: 1024;
readonly memory: number;
};
readonly xlarge: {
readonly cpu: number;
readonly memory: number;
};
readonly '2xlarge': {
readonly cpu: number;
readonly memory: number;
};
readonly '3xlarge': {
readonly cpu: number;
readonly memory: number;
};
};
export {};
//# sourceMappingURL=task-size.d.ts.map