import { ManagedScalingProps } from './ManagedScalingProps';
import { Value } from '../../../cloudformation/Value';
/**
  The details of the Auto Scaling group for the capacity provider.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html">the AWS Docs</a>
*/
export interface AutoScalingGroupProviderProps {
    /** <code>ManagedScaling</code>  <a name="cfn-ecs-capacityprovider-autoscalinggroupprovider-managedscaling"></a>
  The managed scaling settings for the Auto Scaling group capacity provider.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    managedScaling?: ManagedScalingProps;
    /** <code>AutoScalingGroupArn</code>  <a name="cfn-ecs-capacityprovider-autoscalinggroupprovider-autoscalinggrouparn"></a>
  The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    autoScalingGroupArn: Value<string>;
    /** <code>ManagedTerminationProtection</code>  <a name="cfn-ecs-capacityprovider-autoscalinggroupprovider-managedterminationprotection"></a>
  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.<br />
  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 on as well. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection">Instance Protection</a> in the * AWS Auto Scaling User Guide*.<br />
  When managed termination protection is off, your Amazon EC2 instances aren’t protected from termination when the Auto Scaling group scales in.<br />
  
  Required: No<br />
  
  Allowed values: <code>DISABLED | ENABLED</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    managedTerminationProtection?: Value<'DISABLED' | 'ENABLED'>;
}
