@Stability(value=Stable) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ServerlessScalingOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ServerlessScalingOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getAutoPause()
The time before an Aurora Serverless database cluster is paused.
|
AuroraCapacityUnit |
getMaxCapacity()
The maximum capacity for an Aurora Serverless database cluster.
|
AuroraCapacityUnit |
getMinCapacity()
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(ServerlessScalingOptions.Builder builder)
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 © 2022. All rights reserved.