ServiceCapacityProviderStrategy class
Constructors
-
ServiceCapacityProviderStrategy({Input<
int?> ? base, required Input<String> capacityProvider, Input<int?> ? weight}) -
Creates a new ServiceCapacityProviderStrategy.
baseNumber 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.capacityProviderShort name of the capacity provider.weightRelative percentage of the total number of launched tasks that should use the specified capacity provider.const -
ServiceCapacityProviderStrategy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
base
→ Input<
int?> ? -
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.
final
-
capacityProvider
→ Input<
String> -
Short name of the capacity provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weight
→ Input<
int?> ? -
Relative percentage of the total number of launched tasks that should use the specified capacity provider.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited