Class RollingUpdateOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.RollingUpdateOptions.Jsii$Proxy
All Implemented Interfaces:
RollingUpdateOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RollingUpdateOptions

@Stability(Stable) @Internal public static final class RollingUpdateOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RollingUpdateOptions
An implementation for RollingUpdateOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(RollingUpdateOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RollingUpdateOptions.Builder.
  • Method Details

    • getMaxBatchSize

      public final Number getMaxBatchSize()
      Description copied from interface: RollingUpdateOptions
      The maximum number of instances that AWS CloudFormation updates at once.

      This number affects the speed of the replacement.

      Default: 1

      Specified by:
      getMaxBatchSize in interface RollingUpdateOptions
    • getMinInstancesInService

      public final Number getMinInstancesInService()
      Description copied from interface: RollingUpdateOptions
      The minimum number of instances that must be in service before more instances are replaced.

      This number affects the speed of the replacement.

      Default: 0

      Specified by:
      getMinInstancesInService in interface RollingUpdateOptions
    • getMinSuccessPercentage

      public final Number getMinSuccessPercentage()
      Description copied from interface: RollingUpdateOptions
      The percentage of instances that must signal success for the update to succeed.

      Default: - The `minSuccessPercentage` configured for `signals` on the AutoScalingGroup

      Specified by:
      getMinSuccessPercentage in interface RollingUpdateOptions
    • getPauseTime

      public final Duration getPauseTime()
      Description copied from interface: RollingUpdateOptions
      The pause time after making a change to a batch of instances.

      Default: - The `timeout` configured for `signals` on the AutoScalingGroup

      Specified by:
      getPauseTime in interface RollingUpdateOptions
    • getSuspendProcesses

      public final List<ScalingProcess> getSuspendProcesses()
      Description copied from interface: RollingUpdateOptions
      Specifies the Auto Scaling processes to suspend during a stack update.

      Suspending processes prevents Auto Scaling from interfering with a stack update.

      Default: HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions.

      Specified by:
      getSuspendProcesses in interface RollingUpdateOptions
    • getWaitOnResourceSignals

      public final Boolean getWaitOnResourceSignals()
      Description copied from interface: RollingUpdateOptions
      Specifies whether the Auto Scaling group waits on signals from new instances during an update.

      Default: true if you configured `signals` on the AutoScalingGroup, false otherwise

      Specified by:
      getWaitOnResourceSignals in interface RollingUpdateOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object