@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.817Z") @Stability(value=Stable) 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.*;
import software.amazon.awscdk.services.autoscaling.*;
RollingUpdateOptions rollingUpdateOptions = RollingUpdateOptions.builder()
.maxBatchSize(123)
.minInstancesInService(123)
.minSuccessPercentage(123)
.pauseTime(Duration.minutes(30))
.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()
The maximum number of instances that AWS CloudFormation updates at once.
|
default Number |
getMinInstancesInService()
The minimum number of instances that must be in service before more instances are replaced.
|
default Number |
getMinSuccessPercentage()
The percentage of instances that must signal success for the update to succeed.
|
default Duration |
getPauseTime()
The pause time after making a change to a batch of instances.
|
default List<ScalingProcess> |
getSuspendProcesses()
Specifies the Auto Scaling processes to suspend during a stack update.
|
default Boolean |
getWaitOnResourceSignals()
Specifies whether the Auto Scaling group waits on signals from new instances during an update.
|
@Stability(value=Stable) @Nullable default Number getMaxBatchSize()
This number affects the speed of the replacement.
Default: 1
@Stability(value=Stable) @Nullable default Number getMinInstancesInService()
This number affects the speed of the replacement.
Default: 0
@Stability(value=Stable) @Nullable default Number getMinSuccessPercentage()
Default: - The `minSuccessPercentage` configured for `signals` on the AutoScalingGroup
@Stability(value=Stable) @Nullable default Duration getPauseTime()
Default: - The `timeout` configured for `signals` on the AutoScalingGroup
@Stability(value=Stable) @Nullable default List<ScalingProcess> getSuspendProcesses()
Suspending processes prevents Auto Scaling from interfering with a stack update.
Default: HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions.
@Stability(value=Stable) @Nullable default Boolean getWaitOnResourceSignals()
Default: true if you configured `signals` on the AutoScalingGroup, false otherwise
@Stability(value=Stable) static RollingUpdateOptions.Builder builder()
RollingUpdateOptions.Builder of RollingUpdateOptionsCopyright © 2022. All rights reserved.