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

Resource

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

Describes the resources available for a container instance.

interface Resource {
doubleValue?: number | null;
integerValue?: number | null;
longValue?: number | null;
name?: string | null;
stringSetValue?: string[] | null;
type?: string | null;
}

§Properties

§
doubleValue?: number | null
[src]

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

§
integerValue?: number | null
[src]

When the integerValue type is set, the value of the resource must be an integer.

§
longValue?: number | null
[src]

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

§
name?: string | null
[src]

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

§
stringSetValue?: string[] | null
[src]

When the stringSetValue type is set, the value of the resource must be a string type.

§
type?: string | null
[src]

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.