Class ServerlessScalingOptions.Jsii$Proxy
- All Implemented Interfaces:
ServerlessScalingOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ServerlessScalingOptions
ServerlessScalingOptions
-
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.rds.ServerlessScalingOptions
ServerlessScalingOptions.Builder, ServerlessScalingOptions.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theServerlessScalingOptions.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Duration
The time before an Aurora Serverless database cluster is paused.final AuroraCapacityUnit
The maximum capacity for an Aurora Serverless database cluster.final AuroraCapacityUnit
The minimum capacity for an Aurora Serverless database cluster.final Duration
The amount of time that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.final TimeoutAction
The action to take when the timeout is reached.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theServerlessScalingOptions.Builder
.
-
-
Method Details
-
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 interfaceServerlessScalingOptions
-
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 interfaceServerlessScalingOptions
-
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 interfaceServerlessScalingOptions
-
getTimeout
Description copied from interface:ServerlessScalingOptions
The amount of time that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.Default: - 5 minutes
- Specified by:
getTimeout
in interfaceServerlessScalingOptions
-
getTimeoutAction
Description copied from interface:ServerlessScalingOptions
The action to take when the timeout is reached.Selecting ForceApplyCapacityChange will force the capacity to the specified value as soon as possible, even without a scaling point. Selecting RollbackCapacityChange will ignore the capacity change if a scaling point is not found. This is the default behavior.
Default: - TimeoutAction.ROLLBACK_CAPACITY_CHANGE
- Specified by:
getTimeoutAction
in interfaceServerlessScalingOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-