libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Description

 
Synopsis

Documentation

data AutoScalingGroupProviderUpdate Source #

The details of the Auto Scaling group capacity provider to update.

See: newAutoScalingGroupProviderUpdate smart constructor.

Constructors

AutoScalingGroupProviderUpdate' 

Fields

  • managedScaling :: Maybe ManagedScaling

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

  • managedTerminationProtection :: Maybe ManagedTerminationProtection

    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.

    When using managed termination protection, managed scaling must also be used otherwise managed termination protection will not work.

    When managed termination protection is enabled, 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 disabled, your Amazon EC2 instances are not protected from termination when the Auto Scaling group scales in.

Instances

Instances details
Eq AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Read AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Show AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Generic AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Associated Types

type Rep AutoScalingGroupProviderUpdate :: Type -> Type #

NFData AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

Hashable AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

ToJSON AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

type Rep AutoScalingGroupProviderUpdate Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProviderUpdate

type Rep AutoScalingGroupProviderUpdate = D1 ('MetaData "AutoScalingGroupProviderUpdate" "Amazonka.ECS.Types.AutoScalingGroupProviderUpdate" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "AutoScalingGroupProviderUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedScaling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedScaling)) :*: S1 ('MetaSel ('Just "managedTerminationProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedTerminationProtection))))

newAutoScalingGroupProviderUpdate :: AutoScalingGroupProviderUpdate Source #

Create a value of AutoScalingGroupProviderUpdate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:managedScaling:AutoScalingGroupProviderUpdate', autoScalingGroupProviderUpdate_managedScaling - The managed scaling settings for the Auto Scaling group capacity provider.

$sel:managedTerminationProtection:AutoScalingGroupProviderUpdate', autoScalingGroupProviderUpdate_managedTerminationProtection - 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.

When using managed termination protection, managed scaling must also be used otherwise managed termination protection will not work.

When managed termination protection is enabled, 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 disabled, your Amazon EC2 instances are not protected from termination when the Auto Scaling group scales in.

autoScalingGroupProviderUpdate_managedScaling :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedScaling) Source #

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

autoScalingGroupProviderUpdate_managedTerminationProtection :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedTerminationProtection) Source #

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.

When using managed termination protection, managed scaling must also be used otherwise managed termination protection will not work.

When managed termination protection is enabled, 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 disabled, your Amazon EC2 instances are not protected from termination when the Auto Scaling group scales in.