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

ProtectedTask

import type { ProtectedTask } from "https://aws-api.deno.dev/v0.4/services/ecs.ts?docs=full";

An object representing the protection status details for a task. You can set the protection status with the "UpdateTaskProtection" API and get the status of tasks with the "GetTaskProtection" API.

interface ProtectedTask {
expirationDate?: Date | number | null;
protectionEnabled?: boolean | null;
taskArn?: string | null;
}

§Properties

§
expirationDate?: Date | number | null
[src]

The epoch time when protection for the task will expire.

§
protectionEnabled?: boolean | null
[src]

The protection status of the task. If scale-in protection is on for a task, the value is true. Otherwise, it is false.

§
taskArn?: string | null
[src]

The task ARN.