PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` # Generated by default/object.tt package Paws::ECS::CapacityProviderStrategyItem; use Moose; has Base => (is => 'ro', isa => 'Int', request_name => 'base', traits => ['NameInRequest']); has CapacityProvider => (is => 'ro', isa => 'Str', request_name => 'capacityProvider', traits => ['NameInRequest'], required => 1); has Weight => (is => 'ro', isa => 'Int', request_name => 'weight', traits => ['NameInRequest']); 1; ### main pod documentation begin ### =head1 NAME Paws::ECS::CapacityProviderStrategyItem =head1 USAGE This class represents one of two things: =head3 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 }); =head3 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 =head1 DESCRIPTION The details of a capacity provider strategy. A capacity provider strategy can be set when using the RunTask or CreateCluster APIs or as the default capacity provider strategy for a cluster with the CreateCluster API. Only capacity providers that are already associated with a cluster and have an C or C status can be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation. To use a AWS Fargate capacity provider, specify either the C or C capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used in a capacity provider strategy. =head1 ATTRIBUTES =head2 Base => Int The I 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 I defined. If no value is specified, the default value of C<0> is used. =head2 B CapacityProvider => Str The short name of the capacity provider. =head2 Weight => Int The I value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The C value is taken into consideration after the C value, if defined, is satisfied. If no C value is specified, the default value of C<0> is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of C<0> will not be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of C<0>, any C or C actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of C<1>, then when the C is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of C<1> for I and a weight of C<4> for I, then for every one task that is run using I, four tasks would use I. =head1 SEE ALSO This class forms part of L, describing an object used in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut