Class AutoScalingPolicy.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class AutoScalingPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AutoScalingPolicy
An implementation for AutoScalingPolicy
  • 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.gamelift.alpha.AutoScalingPolicy

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the AutoScalingPolicy.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 Duration
    (experimental) Length of time, it takes for a new instance to start new game server processes and register with GameLift FleetIQ.
    final Number
    (experimental) Settings for a target-based scaling policy applied to Auto Scaling group.
    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(AutoScalingPolicy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AutoScalingPolicy.Builder.
  • Method Details

    • getTargetTrackingConfiguration

      public final Number getTargetTrackingConfiguration()
      Description copied from interface: AutoScalingPolicy
      (experimental) Settings for a target-based scaling policy applied to Auto Scaling group.

      These settings are used to create a target-based policy that tracks the GameLift FleetIQ metric PercentUtilizedGameServers and specifies a target value for the metric.

      As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.

      Specified by:
      getTargetTrackingConfiguration in interface AutoScalingPolicy
    • getEstimatedInstanceWarmup

      public final Duration getEstimatedInstanceWarmup()
      Description copied from interface: AutoScalingPolicy
      (experimental) Length of time, it takes for a new instance to start new game server processes and register with GameLift FleetIQ.

      Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.

      Default: no instance warmup duration settled

      Specified by:
      getEstimatedInstanceWarmup in interface AutoScalingPolicy
    • $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