@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-01T09:58:40.672Z")
@Deprecated
public interface RollingUpdateConfiguration
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscaling.*; import software.amazon.awscdk.core.*; RollingUpdateConfiguration rollingUpdateConfiguration = RollingUpdateConfiguration.builder() .maxBatchSize(123) .minInstancesInService(123) .minSuccessfulInstancesPercent(123) .pauseTime(Duration.minutes(30)) .suspendProcesses(List.of(ScalingProcess.LAUNCH)) .waitOnResourceSignals(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
RollingUpdateConfiguration.Builder
Deprecated.
|
static class |
RollingUpdateConfiguration.Jsii$Proxy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RollingUpdateConfiguration.Builder |
builder()
Deprecated.
|
default java.lang.Number |
getMaxBatchSize()
Deprecated.
|
default java.lang.Number |
getMinInstancesInService()
Deprecated.
|
default java.lang.Number |
getMinSuccessfulInstancesPercent()
Deprecated.
|
default Duration |
getPauseTime()
Deprecated.
|
default java.util.List<ScalingProcess> |
getSuspendProcesses()
Deprecated.
|
default java.lang.Boolean |
getWaitOnResourceSignals()
Deprecated.
|
@Deprecated default java.lang.Number getMaxBatchSize()
Default: 1
@Deprecated default java.lang.Number getMinInstancesInService()
This number affects the speed of the replacement.
Default: 0
@Deprecated default java.lang.Number getMinSuccessfulInstancesPercent()
If an instance doesn't send a signal within the time specified in the pauseTime property, AWS CloudFormation assumes that the instance wasn't updated.
This number affects the success of the replacement.
If you specify this property, you must also enable the waitOnResourceSignals and pauseTime properties.
Default: 100
@Deprecated default Duration getPauseTime()
This is intended to give those instances time to start software applications.
Specify PauseTime in the ISO8601 duration format (in the format PT#H#M#S, where each # is the number of hours, minutes, and seconds, respectively). The maximum PauseTime is one hour (PT1H).
Default: Duration.minutes(5) if the waitOnResourceSignals property is true, otherwise 0
@Deprecated default java.util.List<ScalingProcess> getSuspendProcesses()
Suspending processes prevents Auto Scaling from interfering with a stack update.
Default: HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions.
@Deprecated default java.lang.Boolean getWaitOnResourceSignals()
AWS CloudFormation must receive a signal from each new instance within the specified PauseTime before continuing the update.
To have instances wait for an Elastic Load Balancing health check before they signal success, add a health-check verification by using the cfn-init helper script. For an example, see the verify_instance_health command in the Auto Scaling rolling updates sample template.
Default: true if you specified the minSuccessfulInstancesPercent property, false otherwise
@Deprecated static RollingUpdateConfiguration.Builder builder()
RollingUpdateConfiguration.Builder
of RollingUpdateConfiguration