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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.ServerlessScalingOptions
ServerlessScalingOptions.Builder, ServerlessScalingOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theServerlessScalingOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal DurationThe time before an Aurora Serverless database cluster is paused.final AuroraCapacityUnitThe maximum capacity for an Aurora Serverless database cluster.final AuroraCapacityUnitThe minimum capacity for an Aurora Serverless database cluster.final DurationThe amount of time that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.final TimeoutActionThe action to take when the timeout is reached.final inthashCode()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:ServerlessScalingOptionsThe 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:
getAutoPausein interfaceServerlessScalingOptions
-
getMaxCapacity
Description copied from interface:ServerlessScalingOptionsThe maximum capacity for an Aurora Serverless database cluster.Default: - determined by Aurora based on database engine
- Specified by:
getMaxCapacityin interfaceServerlessScalingOptions
-
getMinCapacity
Description copied from interface:ServerlessScalingOptionsThe minimum capacity for an Aurora Serverless database cluster.Default: - determined by Aurora based on database engine
- Specified by:
getMinCapacityin interfaceServerlessScalingOptions
-
getTimeout
Description copied from interface:ServerlessScalingOptionsThe 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:
getTimeoutin interfaceServerlessScalingOptions
-
getTimeoutAction
Description copied from interface:ServerlessScalingOptionsThe 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:
getTimeoutActionin interfaceServerlessScalingOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-