Struct aws_sdk_ecs::model::AutoScalingGroupProvider
source · [−]#[non_exhaustive]pub struct AutoScalingGroupProvider {
pub auto_scaling_group_arn: Option<String>,
pub managed_scaling: Option<ManagedScaling>,
pub managed_termination_protection: Option<ManagedTerminationProtection>,
}
Expand description
The details of the Auto Scaling group for the capacity provider.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.auto_scaling_group_arn: Option<String>
The Amazon Resource Name (ARN) that identifies the Auto Scaling group.
managed_scaling: Option<ManagedScaling>
The managed scaling settings for the Auto Scaling group capacity provider.
managed_termination_protection: Option<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. The default is disabled.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't 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 aren't protected from termination when the Auto Scaling group scales in.
Implementations
The Amazon Resource Name (ARN) that identifies the Auto Scaling group.
The managed scaling settings for the Auto Scaling group capacity provider.
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 disabled.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't 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 aren't protected from termination when the Auto Scaling group scales in.
Creates a new builder-style object to manufacture AutoScalingGroupProvider
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AutoScalingGroupProvider
impl Send for AutoScalingGroupProvider
impl Sync for AutoScalingGroupProvider
impl Unpin for AutoScalingGroupProvider
impl UnwindSafe for AutoScalingGroupProvider
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more