Table of Contents

Class CapacityProviderStrategyItem

Namespace
Amazon.EventBridge.Model
Assembly
AWSSDK.EventBridge.dll

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

public class CapacityProviderStrategyItem
Inheritance
CapacityProviderStrategyItem
Inherited Members

Constructors

CapacityProviderStrategyItem()

public CapacityProviderStrategyItem()

Properties

Base

Gets and sets the property Base.

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.

public int Base { get; set; }

Property Value

int

CapacityProvider

Gets and sets the property CapacityProvider.

The short name of the capacity provider.

public string CapacityProvider { get; set; }

Property Value

string

Weight

Gets and sets the property Weight.

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.

public int Weight { get; set; }

Property Value

int