TaskSetCapacityProviderStrategy constructor

const TaskSetCapacityProviderStrategy({
  1. Input<int?>? base,
  2. required Input<String> capacityProvider,
  3. required Input<int> weight,
})

Creates a new TaskSetCapacityProviderStrategy. base Number of 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. capacityProvider Short name or full ARN of the capacity provider. weight Relative percentage of the total number of launched tasks that should use the specified capacity provider.

Implementation

const TaskSetCapacityProviderStrategy({
  this.base,
  required this.capacityProvider,
  required this.weight,
});