opsworks_set_load_based_auto_scaling: Specify the load-based auto scaling configuration for a...

View source: R/opsworks_operations.R

opsworks_set_load_based_auto_scalingR Documentation

Specify the load-based auto scaling configuration for a specified layer

Description

Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.

See https://www.paws-r-sdk.com/docs/opsworks_set_load_based_auto_scaling/ for full documentation.

Usage

opsworks_set_load_based_auto_scaling(
  LayerId,
  Enable = NULL,
  UpScaling = NULL,
  DownScaling = NULL
)

Arguments

LayerId

[required] The layer ID.

Enable

Enables load-based auto scaling for the layer.

UpScaling

An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, OpsWorks Stacks starts a specified number of instances.

DownScaling

An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, OpsWorks Stacks stops a specified number of instances.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.