Class RollingUpdateConfiguration.Jsii$Proxy

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

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

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
      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(RollingUpdateConfiguration.Builder builder)
      Deprecated.
      Constructor that initializes the object based on literal property values passed by the RollingUpdateConfiguration.Builder.
  • Method Details

    • getMaxBatchSize

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

      Default: 1

      Specified by:
      getMaxBatchSize in interface RollingUpdateConfiguration
    • getMinInstancesInService

      public final Number getMinInstancesInService()
      Deprecated.
      Description copied from interface: RollingUpdateConfiguration
      (deprecated) 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 RollingUpdateConfiguration
    • getMinSuccessfulInstancesPercent

      public final Number getMinSuccessfulInstancesPercent()
      Deprecated.
      Description copied from interface: RollingUpdateConfiguration
      (deprecated) The percentage of instances that must signal success for an update to succeed.

      If an instance doesn't send a signal within the time specified in the pauseTime property, AWS CloudFormation assumes that the instance wasn't updated.

      This number affects the success of the replacement.

      If you specify this property, you must also enable the waitOnResourceSignals and pauseTime properties.

      Default: 100

      Specified by:
      getMinSuccessfulInstancesPercent in interface RollingUpdateConfiguration
    • getPauseTime

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

      This is intended to give those instances time to start software applications.

      Specify PauseTime in the ISO8601 duration format (in the format PT#H#M#S, where each # is the number of hours, minutes, and seconds, respectively). The maximum PauseTime is one hour (PT1H).

      Default: Duration.minutes(5) if the waitOnResourceSignals property is true, otherwise 0

      Specified by:
      getPauseTime in interface RollingUpdateConfiguration
    • getSuspendProcesses

      public final List<ScalingProcess> getSuspendProcesses()
      Deprecated.
      Description copied from interface: RollingUpdateConfiguration
      (deprecated) 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 RollingUpdateConfiguration
    • getWaitOnResourceSignals

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

      AWS CloudFormation must receive a signal from each new instance within the specified PauseTime before continuing the update.

      To have instances wait for an Elastic Load Balancing health check before they signal success, add a health-check verification by using the cfn-init helper script. For an example, see the verify_instance_health command in the Auto Scaling rolling updates sample template.

      Default: true if you specified the minSuccessfulInstancesPercent property, false otherwise

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

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

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

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