ScalingConfiguration object
Example JSON representation
{
"considerSuspendedServers": "running",
"enabled": true,
"maxInstances": 1,
"minInstances": 1,
"rules": [
"string"
],
"scalingBehavior": "suspend-resume"
}
Properties
property | attributes | valid values | description | filter option |
---|---|---|---|---|
rules Array of string |
read-only |
|||
considerSuspendedServers string |
optional |
"running" "terminated" |
By default Scalr considers all suspended servers as running when calculating the number of running instances to make a scaling decision. |
|
enabled boolean |
optional |
|||
maxInstances integer |
optional |
|||
minInstances integer |
optional |
|||
scalingBehavior string |
optional |
"suspend-resume" "launch-terminate" |
By default value is 'launch-terminate', Scalr autoscales by launching and terminating servers. If you change this options to 'suspend-resume' Scalr will automatically scale servers by suspending and resuming servers. |