Class UpdatePolicy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.UpdatePolicy
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:15.160Z")
@Stability(Stable)
public abstract class UpdatePolicy
extends software.amazon.jsii.JsiiObject
How existing instances should be updated.
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.*; UpdatePolicy updatePolicy = UpdatePolicy.replacingUpdate();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedUpdatePolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedUpdatePolicy(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdatePolicyCreate a new AutoScalingGroup and switch over to it.static UpdatePolicyReplace the instances in the AutoScalingGroup one by one, or in batches.static UpdatePolicyrollingUpdate(RollingUpdateOptions options) Replace the instances in the AutoScalingGroup one by one, or in batches.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
UpdatePolicy
protected UpdatePolicy(software.amazon.jsii.JsiiObjectRef objRef) -
UpdatePolicy
protected UpdatePolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
UpdatePolicy
@Stability(Stable) protected UpdatePolicy()
-
-
Method Details
-
replacingUpdate
Create a new AutoScalingGroup and switch over to it. -
rollingUpdate
@Stability(Stable) @NotNull public static UpdatePolicy rollingUpdate(@Nullable RollingUpdateOptions options) Replace the instances in the AutoScalingGroup one by one, or in batches.- Parameters:
options-
-
rollingUpdate
Replace the instances in the AutoScalingGroup one by one, or in batches.
-