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

AutoScalingGroupProvider

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

The details of the Auto Scaling group for the capacity provider.

interface AutoScalingGroupProvider {
autoScalingGroupArn: string;
managedScaling?: ManagedScaling | null;
managedTerminationProtection?: ManagedTerminationProtection | null;
}

§Properties

§
autoScalingGroupArn: string
[src]

The Amazon Resource Name (ARN) that identifies the Auto Scaling group.

§
managedScaling?: ManagedScaling | null
[src]

The managed scaling settings for the Auto Scaling group capacity provider.

§
managedTerminationProtection?: ManagedTerminationProtection | null
[src]

The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.

! IMPORTANT: ! When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.

When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.