AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchEvents.Model.CapacityProviderStrategyItem

Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z

Syntax

C#
public class CapacityProviderStrategyItem

The CapacityProviderStrategyItem type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property CapacityProvider System.String

Gets and sets the property CapacityProvider.

The short name of the capacity provider.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5