BasicScaling class
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
Constructors
-
BasicScaling({Input<
String> ? idleTimeout, Input<int> ? maxInstances}) -
Creates a new BasicScaling.
idleTimeoutDuration of time after the last request that an instance must wait before the instance is shut down.maxInstancesMaximum number of instances to create for this version.const -
BasicScaling.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
idleTimeout
→ Input<
String> ? -
Duration of time after the last request that an instance must wait before the instance is shut down.
final
-
maxInstances
→ Input<
int> ? -
Maximum number of instances to create for this version.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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