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

CapacityProviderStrategyItem

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

The details of a capacity provider strategy. To learn more, see CapacityProviderStrategyItem in the Amazon ECS API Reference.

interface CapacityProviderStrategyItem {
base?: number | null;
capacityProvider: string;
weight?: number | null;
}

§Properties

§
base?: number | null
[src]

The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.

§
capacityProvider: string
[src]

The short name of the capacity provider.

§
weight?: number | null
[src]

The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.