public static interface AutoScalingGroupProvider.Builder extends SdkPojo, CopyableBuilder<AutoScalingGroupProvider.Builder,AutoScalingGroupProvider>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingGroupProvider.Builder |
autoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
|
default AutoScalingGroupProvider.Builder |
managedScaling(Consumer<ManagedScaling.Builder> managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider.Builder |
managedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider.Builder |
managedTerminationProtection(ManagedTerminationProtection managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider.Builder |
managedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoScalingGroupProvider.Builder autoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
autoScalingGroupArn - The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.AutoScalingGroupProvider.Builder managedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
managedScaling - The managed scaling settings for the Auto Scaling group capacity provider.default AutoScalingGroupProvider.Builder managedScaling(Consumer<ManagedScaling.Builder> managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
This is a convenience method that creates an instance of theManagedScaling.Builder avoiding the need
to create one manually via ManagedScaling.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to managedScaling(ManagedScaling).
managedScaling - a consumer that will call methods on ManagedScaling.BuildermanagedScaling(ManagedScaling)AutoScalingGroupProvider.Builder managedTerminationProtection(String 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 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.
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 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.
ManagedTerminationProtection,
ManagedTerminationProtectionAutoScalingGroupProvider.Builder managedTerminationProtection(ManagedTerminationProtection 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 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.
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 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.
ManagedTerminationProtection,
ManagedTerminationProtectionCopyright © 2023. All rights reserved.