/** * Types for the exec command */ export interface ExecOptions { profile?: string; cluster?: string; service?: string; task?: string; container?: string; command?: string; verbose?: boolean; /** * Commander populates 'color' for the negatable `--no-color` flag (default * true, false when the flag is passed) - there is no `noColor` property. * See src/commands/seed/index.ts for the reference pattern this mirrors. */ color?: boolean; } export interface EcsCluster { name: string; arn: string; } export interface EcsService { name: string; arn: string; } export interface EcsTask { taskId: string; arn: string; lastStatus: string; startedAt?: string; } export interface EcsContainer { name: string; runtimeId?: string; lastStatus: string; } /** * Extract short name from an ECS ARN. * e.g. "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster" -> "my-cluster" * e.g. "arn:aws:ecs:us-east-1:123456789012:service/my-cluster/my-service" -> "my-service" * e.g. "arn:aws:ecs:us-east-1:123456789012:task/my-cluster/abc123" -> "abc123" */ export declare function extractNameFromArn(arn: string): string; //# sourceMappingURL=types.d.ts.map