AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The details of a capacity provider strategy. To learn more, see CapacityProviderStrategyItem in the Amazon ECS API Reference.
Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z
public class CapacityProviderStrategyItem
The CapacityProviderStrategyItem type exposes the following members
Name | Description | |
---|---|---|
CapacityProviderStrategyItem() |
Name | Type | Description | |
---|---|---|---|
Base | System.Int32 |
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. |
|
CapacityProvider | System.String |
Gets and sets the property CapacityProvider. The short name of the capacity provider. |
|
Weight | System.Int32 |
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5