/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes information used to start an instance refresh. See
* Also:
AWS
* API Reference
The amount of capacity in the Auto Scaling group that must remain healthy
* during an instance refresh to allow the operation to continue, as a percentage
* of the desired capacity of the Auto Scaling group (rounded up to the nearest
* integer). The default is 90.
The amount of capacity in the Auto Scaling group that must remain healthy
* during an instance refresh to allow the operation to continue, as a percentage
* of the desired capacity of the Auto Scaling group (rounded up to the nearest
* integer). The default is 90.
The amount of capacity in the Auto Scaling group that must remain healthy
* during an instance refresh to allow the operation to continue, as a percentage
* of the desired capacity of the Auto Scaling group (rounded up to the nearest
* integer). The default is 90.
The amount of capacity in the Auto Scaling group that must remain healthy
* during an instance refresh to allow the operation to continue, as a percentage
* of the desired capacity of the Auto Scaling group (rounded up to the nearest
* integer). The default is 90.
The number of seconds until a newly launched instance is configured and ready * to use. During this time, Amazon EC2 Auto Scaling does not immediately move on * to the next replacement. The default is to use the value for the health check * grace period defined for the group.
*/ inline int GetInstanceWarmup() const{ return m_instanceWarmup; } /** *The number of seconds until a newly launched instance is configured and ready * to use. During this time, Amazon EC2 Auto Scaling does not immediately move on * to the next replacement. The default is to use the value for the health check * grace period defined for the group.
*/ inline bool InstanceWarmupHasBeenSet() const { return m_instanceWarmupHasBeenSet; } /** *The number of seconds until a newly launched instance is configured and ready * to use. During this time, Amazon EC2 Auto Scaling does not immediately move on * to the next replacement. The default is to use the value for the health check * grace period defined for the group.
*/ inline void SetInstanceWarmup(int value) { m_instanceWarmupHasBeenSet = true; m_instanceWarmup = value; } /** *The number of seconds until a newly launched instance is configured and ready * to use. During this time, Amazon EC2 Auto Scaling does not immediately move on * to the next replacement. The default is to use the value for the health check * grace period defined for the group.
*/ inline RefreshPreferences& WithInstanceWarmup(int value) { SetInstanceWarmup(value); return *this;} private: int m_minHealthyPercentage; bool m_minHealthyPercentageHasBeenSet; int m_instanceWarmup; bool m_instanceWarmupHasBeenSet; }; } // namespace Model } // namespace AutoScaling } // namespace Aws