@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:32.031Z") @Stability(value=Experimental) public interface ServerlessScalingOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServerlessScalingOptions.Builder
A builder for
ServerlessScalingOptions |
static class |
ServerlessScalingOptions.Jsii$Proxy
An implementation for
ServerlessScalingOptions |
| Modifier and Type | Method and Description |
|---|---|
static ServerlessScalingOptions.Builder |
builder() |
default Duration |
getAutoPause()
(experimental) The time before an Aurora Serverless database cluster is paused.
|
default AuroraCapacityUnit |
getMaxCapacity()
(experimental) The maximum capacity for an Aurora Serverless database cluster.
|
default AuroraCapacityUnit |
getMinCapacity()
(experimental) The minimum capacity for an Aurora Serverless database cluster.
|
@Stability(value=Experimental) @Nullable default Duration getAutoPause()
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
@Stability(value=Experimental) @Nullable default AuroraCapacityUnit getMaxCapacity()
Default: - determined by Aurora based on database engine
@Stability(value=Experimental) @Nullable default AuroraCapacityUnit getMinCapacity()
Default: - determined by Aurora based on database engine
@Stability(value=Experimental) static ServerlessScalingOptions.Builder builder()
ServerlessScalingOptions.Builder of ServerlessScalingOptionsCopyright © 2021. All rights reserved.