Class: Aws::ECS::Types::AutoScalingGroupProvider
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::AutoScalingGroupProvider
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The details of the Auto Scaling group for the capacity provider.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_scaling_group_arn ⇒ String
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
-
#managed_draining ⇒ String
The managed draining option for the Auto Scaling group capacity provider.
-
#managed_scaling ⇒ Types::ManagedScaling
The managed scaling settings for the Auto Scaling group capacity provider.
-
#managed_termination_protection ⇒ String
The managed termination protection setting to use for the Auto Scaling group capacity provider.
Instance Attribute Details
#auto_scaling_group_arn ⇒ String
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
186 187 188 189 190 191 192 193 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 186 class AutoScalingGroupProvider < Struct.new( :auto_scaling_group_arn, :managed_scaling, :managed_termination_protection, :managed_draining) SENSITIVE = [] include Aws::Structure end |
#managed_draining ⇒ String
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
186 187 188 189 190 191 192 193 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 186 class AutoScalingGroupProvider < Struct.new( :auto_scaling_group_arn, :managed_scaling, :managed_termination_protection, :managed_draining) SENSITIVE = [] include Aws::Structure end |
#managed_scaling ⇒ Types::ManagedScaling
The managed scaling settings for the Auto Scaling group capacity provider.
186 187 188 189 190 191 192 193 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 186 class AutoScalingGroupProvider < Struct.new( :auto_scaling_group_arn, :managed_scaling, :managed_termination_protection, :managed_draining) SENSITIVE = [] include Aws::Structure end |
#managed_termination_protection ⇒ String
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.
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 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.
186 187 188 189 190 191 192 193 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 186 class AutoScalingGroupProvider < Struct.new( :auto_scaling_group_arn, :managed_scaling, :managed_termination_protection, :managed_draining) SENSITIVE = [] include Aws::Structure end |