CapacityProviderManagedInstancesProviderInfrastructureOptimization class
Constructors
-
CapacityProviderManagedInstancesProviderInfrastructureOptimization({Input<
int?> ? scaleInAfter}) -
Creates a new CapacityProviderManagedInstancesProviderInfrastructureOptimization.
scaleInAfterNumber of seconds Amazon ECS Managed Instances waits before optimizing EC2 instances that have become idle or underutilized. A longer delay increases the likelihood of placing new tasks on idle instances, reducing startup time. A shorter delay helps reduce infrastructure costs by optimizing idle instances more quickly. Valid values are-1to disable automatic infrastructure optimization,0to3600(inclusive) to specify the number of seconds to wait before optimizing instances, or leave unset (null) to use the default optimization behavior.const -
CapacityProviderManagedInstancesProviderInfrastructureOptimization.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scaleInAfter
→ Input<
int?> ? -
Number of seconds Amazon ECS Managed Instances waits before optimizing EC2 instances that have become idle or underutilized. A longer delay increases the likelihood of placing new tasks on idle instances, reducing startup time. A shorter delay helps reduce infrastructure costs by optimizing idle instances more quickly. Valid values are
-1to disable automatic infrastructure optimization,0to3600(inclusive) to specify the number of seconds to wait before optimizing instances, or leave unset (null) to use the default optimization behavior.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