@Stability(value=Stable) @Internal public static final class ServerlessClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerlessClusterProps
ServerlessClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeServerlessClusterProps.Builder, ServerlessClusterProps.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(ServerlessClusterProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ServerlessClusterProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getBackupRetention()
The number of days during which automatic DB snapshots are retained.
|
String |
getClusterIdentifier()
An optional identifier for the cluster.
|
Boolean |
getCopyTagsToSnapshot()
Whether to copy tags to the snapshot when a snapshot is created.
|
Credentials |
getCredentials()
Credentials for the administrative user.
|
String |
getDefaultDatabaseName()
Name of a database which is automatically created inside the cluster.
|
Boolean |
getDeletionProtection()
Indicates whether the DB cluster should have deletion protection enabled.
|
Boolean |
getEnableDataApi()
Whether to enable the Data API.
|
IClusterEngine |
getEngine()
What kind of database to start.
|
IParameterGroup |
getParameterGroup()
Additional parameters to pass to the database engine.
|
RemovalPolicy |
getRemovalPolicy()
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
ServerlessScalingOptions |
getScaling()
Scaling configuration of an Aurora Serverless database cluster.
|
List<ISecurityGroup> |
getSecurityGroups()
Security group.
|
IKey |
getStorageEncryptionKey()
The KMS key for storage encryption.
|
ISubnetGroup |
getSubnetGroup()
Existing subnet group for the cluster.
|
IVpc |
getVpc()
The VPC that this Aurora Serverless cluster has been created in.
|
SubnetSelection |
getVpcSubnets()
Where to place the instances within the VPC.
|
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(ServerlessClusterProps.Builder builder)
ServerlessClusterProps.Builder.public final IClusterEngine getEngine()
ServerlessClusterPropsgetEngine in interface ServerlessClusterPropspublic final Duration getBackupRetention()
ServerlessClusterPropsAutomatic backup retention cannot be disabled on serverless clusters. Must be a value from 1 day to 35 days.
Default: Duration.days(1)
getBackupRetention in interface ServerlessClusterPropspublic final String getClusterIdentifier()
ServerlessClusterPropsDefault: - A name is automatically generated.
getClusterIdentifier in interface ServerlessClusterPropspublic final Boolean getCopyTagsToSnapshot()
ServerlessClusterPropsDefault: - true
getCopyTagsToSnapshot in interface ServerlessClusterPropspublic final Credentials getCredentials()
ServerlessClusterPropsDefault: - A username of 'admin' and SecretsManager-generated password
getCredentials in interface ServerlessClusterPropspublic final String getDefaultDatabaseName()
ServerlessClusterPropsDefault: - Database is not created in cluster.
getDefaultDatabaseName in interface ServerlessClusterPropspublic final Boolean getDeletionProtection()
ServerlessClusterPropsDefault: - true if removalPolicy is RETAIN, false otherwise
getDeletionProtection in interface ServerlessClusterPropspublic final Boolean getEnableDataApi()
ServerlessClusterPropsDefault: false
getEnableDataApi in interface ServerlessClusterPropspublic final IParameterGroup getParameterGroup()
ServerlessClusterPropsDefault: - no parameter group.
getParameterGroup in interface ServerlessClusterPropspublic final RemovalPolicy getRemovalPolicy()
ServerlessClusterPropsDefault: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy in interface ServerlessClusterPropspublic final ServerlessScalingOptions getScaling()
ServerlessClusterPropsDefault: - Serverless cluster is automatically paused after 5 minutes of being idle. minimum capacity: 2 ACU maximum capacity: 16 ACU
getScaling in interface ServerlessClusterPropspublic final List<ISecurityGroup> getSecurityGroups()
ServerlessClusterPropsDefault: - a new security group is created if `vpc` was provided. If the `vpc` property was not provided, no VPC security groups will be associated with the DB cluster.
getSecurityGroups in interface ServerlessClusterPropspublic final IKey getStorageEncryptionKey()
ServerlessClusterPropsDefault: - the default master key will be used for storage encryption
getStorageEncryptionKey in interface ServerlessClusterPropspublic final ISubnetGroup getSubnetGroup()
ServerlessClusterPropsDefault: - a new subnet group is created if `vpc` was provided. If the `vpc` property was not provided, no subnet group will be associated with the DB cluster
getSubnetGroup in interface ServerlessClusterPropspublic final IVpc getVpc()
ServerlessClusterPropsDefault: - the default VPC in the account and region will be used
getVpc in interface ServerlessClusterPropspublic final SubnetSelection getVpcSubnets()
ServerlessClusterProps
If provided, the vpc property must also be specified.
Default: - the VPC default strategy if not specified.
getVpcSubnets in interface ServerlessClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.