Class WarmPoolOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class WarmPoolOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WarmPoolOptions
An implementation for WarmPoolOptions
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.WarmPoolOptions

    WarmPoolOptions.Builder, WarmPoolOptions.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the WarmPoolOptions.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
    final Number
    The minimum number of instances to maintain in the warm pool.
    final PoolState
    The instance state to transition to after the lifecycle actions are complete.
    final Boolean
    Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(WarmPoolOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the WarmPoolOptions.Builder.
  • Method Details

    • getMaxGroupPreparedCapacity

      public final Number getMaxGroupPreparedCapacity()
      Description copied from interface: WarmPoolOptions
      The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

      If the value is not specified, Amazon EC2 Auto Scaling launches and maintains the difference between the group's maximum capacity and its desired capacity.

      Default: - max size of the Auto Scaling group

      Specified by:
      getMaxGroupPreparedCapacity in interface WarmPoolOptions
    • getMinSize

      public final Number getMinSize()
      Description copied from interface: WarmPoolOptions
      The minimum number of instances to maintain in the warm pool.

      Default: 0

      Specified by:
      getMinSize in interface WarmPoolOptions
    • getPoolState

      public final PoolState getPoolState()
      Description copied from interface: WarmPoolOptions
      The instance state to transition to after the lifecycle actions are complete.

      Default: PoolState.STOPPED

      Specified by:
      getPoolState in interface WarmPoolOptions
    • getReuseOnScaleIn

      public final Boolean getReuseOnScaleIn()
      Description copied from interface: WarmPoolOptions
      Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

      If the value is not specified, instances in the Auto Scaling group will be terminated when the group scales in.

      Default: false

      Specified by:
      getReuseOnScaleIn in interface WarmPoolOptions
    • $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