@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:25.175Z") @Stability(value=Experimental) public interface RollingUpdateOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.autoscaling.*;
Duration duration;
RollingUpdateOptions rollingUpdateOptions = RollingUpdateOptions.builder()
.maxBatchSize(123)
.minInstancesInService(123)
.minSuccessPercentage(123)
.pauseTime(duration)
.suspendProcesses(List.of(ScalingProcess.LAUNCH))
.waitOnResourceSignals(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RollingUpdateOptions.Builder
A builder for
RollingUpdateOptions |
static class |
RollingUpdateOptions.Jsii$Proxy
An implementation for
RollingUpdateOptions |
| Modifier and Type | Method and Description |
|---|---|
static RollingUpdateOptions.Builder |
builder() |
default Number |
getMaxBatchSize()
(experimental) The maximum number of instances that AWS CloudFormation updates at once.
|
default Number |
getMinInstancesInService()
(experimental) The minimum number of instances that must be in service before more instances are replaced.
|
default Number |
getMinSuccessPercentage()
(experimental) The percentage of instances that must signal success for the update to succeed.
|
default Duration |
getPauseTime()
(experimental) The pause time after making a change to a batch of instances.
|
default List<ScalingProcess> |
getSuspendProcesses()
(experimental) Specifies the Auto Scaling processes to suspend during a stack update.
|
default Boolean |
getWaitOnResourceSignals()
(experimental) Specifies whether the Auto Scaling group waits on signals from new instances during an update.
|
@Stability(value=Experimental) @Nullable default Number getMaxBatchSize()
This number affects the speed of the replacement.
Default: 1
@Stability(value=Experimental) @Nullable default Number getMinInstancesInService()
This number affects the speed of the replacement.
Default: 0
@Stability(value=Experimental) @Nullable default Number getMinSuccessPercentage()
Default: - The `minSuccessPercentage` configured for `signals` on the AutoScalingGroup
@Stability(value=Experimental) @Nullable default Duration getPauseTime()
Default: - The `timeout` configured for `signals` on the AutoScalingGroup
@Stability(value=Experimental) @Nullable default List<ScalingProcess> getSuspendProcesses()
Suspending processes prevents Auto Scaling from interfering with a stack update.
Default: HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions.
@Stability(value=Experimental) @Nullable default Boolean getWaitOnResourceSignals()
Default: true if you configured `signals` on the AutoScalingGroup, false otherwise
@Stability(value=Experimental) static RollingUpdateOptions.Builder builder()
RollingUpdateOptions.Builder of RollingUpdateOptionsCopyright © 2022. All rights reserved.