@Generated(value="jsii-pacmak/1.11.0 (build 1e9b8e1)", date="2020-09-13T06:02:40.336Z") @Stability(value=Stable) public interface CfnAutoScalingReplacingUpdate extends software.amazon.jsii.JsiiSerializable
During replacement, AWS CloudFormation retains the old group until it finishes creating the new one. If the update fails, AWS CloudFormation can roll back to the old Auto Scaling group and delete the new Auto Scaling group.
While AWS CloudFormation creates the new group, it doesn't detach or attach any instances. After successfully creating the new Auto Scaling group, AWS CloudFormation deletes the old Auto Scaling group during the cleanup process.
When you set the WillReplace parameter, remember to specify a matching CreationPolicy. If the minimum number of instances (specified by the MinSuccessfulInstancesPercent property) don't signal success within the Timeout period (specified in the CreationPolicy policy), the replacement update fails and AWS CloudFormation rolls back to the old Auto Scaling group.
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAutoScalingReplacingUpdate.Builder
A builder for
CfnAutoScalingReplacingUpdate |
static class |
CfnAutoScalingReplacingUpdate.Jsii$Proxy
An implementation for
CfnAutoScalingReplacingUpdate |
Modifier and Type | Method and Description |
---|---|
static CfnAutoScalingReplacingUpdate.Builder |
builder() |
default Boolean |
getWillReplace() |
@Stability(value=Stable) @Nullable default Boolean getWillReplace()
@Stability(value=Stable) static CfnAutoScalingReplacingUpdate.Builder builder()
Copyright © 2020. All rights reserved.