@Stability(value=Experimental) @Internal public static final class ServerlessScalingOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerlessScalingOptions
ServerlessScalingOptionssoftware.amazon.jsii.JsiiObject.InitializationModeServerlessScalingOptions.Builder, ServerlessScalingOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Duration autoPause,
AuroraCapacityUnit maxCapacity,
AuroraCapacityUnit minCapacity)
Constructor that initializes the object based on literal property values passed by the
ServerlessScalingOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getAutoPause()
(experimental) The time before an Aurora Serverless database cluster is paused.
|
AuroraCapacityUnit |
getMaxCapacity()
(experimental) The maximum capacity for an Aurora Serverless database cluster.
|
AuroraCapacityUnit |
getMinCapacity()
(experimental) The minimum capacity for an Aurora Serverless database cluster.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Duration autoPause, AuroraCapacityUnit maxCapacity, AuroraCapacityUnit minCapacity)
ServerlessScalingOptions.Builder.public final Duration getAutoPause()
ServerlessScalingOptionsA 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
getAutoPause in interface ServerlessScalingOptionspublic final AuroraCapacityUnit getMaxCapacity()
ServerlessScalingOptionsDefault: - determined by Aurora based on database engine
getMaxCapacity in interface ServerlessScalingOptionspublic final AuroraCapacityUnit getMinCapacity()
ServerlessScalingOptionsDefault: - determined by Aurora based on database engine
getMinCapacity in interface ServerlessScalingOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.