EventTargetEcsTargetCapacityProviderStrategy class
Constructors
-
EventTargetEcsTargetCapacityProviderStrategy({Input<
int?> ? base, required Input<String> capacityProvider, Input<int?> ? weight}) -
Creates a new EventTargetEcsTargetCapacityProviderStrategy.
baseThe 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. Defaults to0.capacityProviderShort name of the capacity provider.weightThe 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.const -
EventTargetEcsTargetCapacityProviderStrategy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
base
→ Input<
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. Defaults to
0.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?> ? -
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.
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