NAME
Paws::ECS::CapacityProviderStrategyItem
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ECS::CapacityProviderStrategyItem object:
$service_obj->Method(Att1 => { Base => $value, ..., Weight => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::CapacityProviderStrategyItem object:
$result = $service_obj->Method(...);
$result->Att1->Base
DESCRIPTION
The details of a capacity provider strategy.
ATTRIBUTES
Base => Int
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.
REQUIRED CapacityProvider => Str
The short name or full Amazon Resource Name (ARN) of the capacity provider.
Weight => Int
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
For example, if you have a strategy that contains two capacity providers and both have a weight of 1, then when the base is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of 1 for capacityProviderA and a weight of 4 for capacityProviderB, then for every one task that is run using capacityProviderA, four tasks would use capacityProviderB.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::ECS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues