Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS OpsWorks LoadBasedAutoScaling Type

Describes the load-based automatic scaling configuration for an AWS::OpsWorks::Layer resource type. For more information, see SetLoadBasedAutoScaling in the AWS OpsWorks Stacks API Reference.

Syntax

JSON

Copy
{ "DownScaling" : { AutoScalingThresholds }, "Enable" : Boolean, "UpScaling" : { AutoScalingThresholds } }

YAML

Copy
DownScaling: AutoScalingThresholds Enable: Boolean UpScaling: AutoScalingThresholds

Properties

DownScaling

The threshold below which the instances are scaled down (stopped). If the load falls below this threshold for a specified amount of time, AWS OpsWorks stops a specified number of instances.

Required: No

Type: AWS OpsWorks AutoScalingThresholds Type

Enable

Whether to enable automatic load-based scaling for the layer.

Required: No

Type: Boolean

UpScaling

The threshold above which the instances are scaled up (added). If the load exceeds this thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.

Required: No

Type: AWS OpsWorks AutoScalingThresholds Type

On this page: