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.AutoScalingGroupProvider

Description

 
Synopsis

Documentation

data AutoScalingGroupProvider Source #

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

See: newAutoScalingGroupProvider smart constructor.

Constructors

AutoScalingGroupProvider' 

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.

  • autoScalingGroupArn :: Text

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

Instances

Instances details
Eq AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

Read AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

Show AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

Generic AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

Associated Types

type Rep AutoScalingGroupProvider :: Type -> Type #

NFData AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

Hashable AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

ToJSON AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

FromJSON AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

type Rep AutoScalingGroupProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.AutoScalingGroupProvider

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

newAutoScalingGroupProvider Source #

Create a value of AutoScalingGroupProvider 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:AutoScalingGroupProvider', autoScalingGroupProvider_managedScaling - The managed scaling settings for the Auto Scaling group capacity provider.

$sel:managedTerminationProtection:AutoScalingGroupProvider', autoScalingGroupProvider_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.

$sel:autoScalingGroupArn:AutoScalingGroupProvider', autoScalingGroupProvider_autoScalingGroupArn - The Amazon Resource Name (ARN) that identifies the Auto Scaling group.

autoScalingGroupProvider_managedScaling :: Lens' AutoScalingGroupProvider (Maybe ManagedScaling) Source #

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

autoScalingGroupProvider_managedTerminationProtection :: Lens' AutoScalingGroupProvider (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.

autoScalingGroupProvider_autoScalingGroupArn :: Lens' AutoScalingGroupProvider Text Source #

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