Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AutoScalingThresholds

import type { AutoScalingThresholds } from "https://aws-api.deno.dev/v0.3/services/opsworks.ts?docs=full";

Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks Stacks starts or stops load-based instances.

interface AutoScalingThresholds {
Alarms?: string[] | null;
CpuThreshold?: number | null;
IgnoreMetricsTime?: number | null;
InstanceCount?: number | null;
LoadThreshold?: number | null;
MemoryThreshold?: number | null;
ThresholdsWaitTime?: number | null;
}

§Properties

§
Alarms?: string[] | null
[src]

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

Note: To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms. You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually. For more information, see Allowing AWS OpsWorks Stacks to Act on Your Behalf.

§
CpuThreshold?: number | null
[src]

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

§
IgnoreMetricsTime?: number | null
[src]

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events. For example, AWS OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.

§
InstanceCount?: number | null
[src]

The number of instances to add or remove when the load exceeds a threshold.

§
LoadThreshold?: number | null
[src]

The load threshold. A value of -1 disables the threshold. For more information about how load is computed, see Load (computing).

§
MemoryThreshold?: number | null
[src]

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

§
ThresholdsWaitTime?: number | null
[src]

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.