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

TargetTrackingConfiguration

import type { TargetTrackingConfiguration } from "https://aws-api.deno.dev/v0.4/services/autoscaling.ts?docs=full";

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

interface TargetTrackingConfiguration {
CustomizedMetricSpecification?: CustomizedMetricSpecification | null;
DisableScaleIn?: boolean | null;
PredefinedMetricSpecification?: PredefinedMetricSpecification | null;
TargetValue: number;
}

§Properties

§
CustomizedMetricSpecification?: CustomizedMetricSpecification | null
[src]

A customized metric. You must specify either a predefined metric or a customized metric.

§
DisableScaleIn?: boolean | null
[src]

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

§
PredefinedMetricSpecification?: PredefinedMetricSpecification | null
[src]

A predefined metric. You must specify either a predefined metric or a customized metric.

§
TargetValue: number
[src]

The target value for the metric.

Note: Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.