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.94.0 (build b380f01)", date="2024-03-01T20:58:19.472Z") @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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    UpdatePolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    UpdatePolicy(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new AutoScalingGroup and switch over to it.
    Replace the instances in the AutoScalingGroup one by one, or in batches.
    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, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @Stability(Stable) @NotNull public static UpdatePolicy 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

      @Stability(Stable) @NotNull public static UpdatePolicy rollingUpdate()
      Replace the instances in the AutoScalingGroup one by one, or in batches.