Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StopTaskRequest

import type { StopTaskRequest } from "https://aws-api.deno.dev/v0.4/services/ecs.ts?docs=full";
interface StopTaskRequest {
cluster?: string | null;
reason?: string | null;
task: string;
}

§Properties

§
cluster?: string | null
[src]

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.

§
reason?: string | null
[src]

An optional message specified when a task is stopped. For example, if you're using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent "DescribeTasks" API operations on this task. Up to 255 characters are allowed in this message.

§
task: string
[src]

The task ID of the task to stop.