Class ServerlessScalingOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ServerlessScalingOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerlessScalingOptions
An implementation for ServerlessScalingOptions
  • 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(ServerlessScalingOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ServerlessScalingOptions.Builder.
  • Method Details

    • getAutoPause

      public final Duration getAutoPause()
      Description copied from interface: ServerlessScalingOptions
      The time before an Aurora Serverless database cluster is paused.

      A database cluster can be paused only when it is idle (it has no connections). Auto pause time must be between 5 minutes and 1 day.

      If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it.

      Set to 0 to disable

      Default: - automatic pause enabled after 5 minutes

      Specified by:
      getAutoPause in interface ServerlessScalingOptions
    • getMaxCapacity

      public final AuroraCapacityUnit getMaxCapacity()
      Description copied from interface: ServerlessScalingOptions
      The maximum capacity for an Aurora Serverless database cluster.

      Default: - determined by Aurora based on database engine

      Specified by:
      getMaxCapacity in interface ServerlessScalingOptions
    • getMinCapacity

      public final AuroraCapacityUnit getMinCapacity()
      Description copied from interface: ServerlessScalingOptions
      The minimum capacity for an Aurora Serverless database cluster.

      Default: - determined by Aurora based on database engine

      Specified by:
      getMinCapacity in interface ServerlessScalingOptions
    • $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