@Stability(value=Stable) @Internal public static final class ServerlessClusterFromSnapshotProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerlessClusterFromSnapshotProps
ServerlessClusterFromSnapshotPropssoftware.amazon.jsii.JsiiObject.InitializationModeServerlessClusterFromSnapshotProps.Builder, ServerlessClusterFromSnapshotProps.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(ServerlessClusterFromSnapshotProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ServerlessClusterFromSnapshotProps.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.
|
SnapshotCredentials |
getCredentials()
Master user credentials.
|
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.
|
String |
getSnapshotIdentifier()
The identifier for the DB instance snapshot or DB cluster snapshot to restore from.
|
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(ServerlessClusterFromSnapshotProps.Builder builder)
ServerlessClusterFromSnapshotProps.Builder.public final IClusterEngine getEngine()
ServerlessClusterFromSnapshotPropsgetEngine in interface ServerlessClusterFromSnapshotPropspublic final String getSnapshotIdentifier()
ServerlessClusterFromSnapshotPropsYou can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
getSnapshotIdentifier in interface ServerlessClusterFromSnapshotPropspublic final Duration getBackupRetention()
ServerlessClusterFromSnapshotPropsAutomatic 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 ServerlessClusterFromSnapshotPropspublic final String getClusterIdentifier()
ServerlessClusterFromSnapshotPropsDefault: - A name is automatically generated.
getClusterIdentifier in interface ServerlessClusterFromSnapshotPropspublic final Boolean getCopyTagsToSnapshot()
ServerlessClusterFromSnapshotPropsDefault: - true
getCopyTagsToSnapshot in interface ServerlessClusterFromSnapshotPropspublic final SnapshotCredentials getCredentials()
ServerlessClusterFromSnapshotPropsNote - It is not possible to change the master username for a snapshot; however, it is possible to provide (or generate) a new password.
Default: - The existing username and password from the snapshot will be used.
getCredentials in interface ServerlessClusterFromSnapshotPropspublic final String getDefaultDatabaseName()
ServerlessClusterFromSnapshotPropsDefault: - Database is not created in cluster.
getDefaultDatabaseName in interface ServerlessClusterFromSnapshotPropspublic final Boolean getDeletionProtection()
ServerlessClusterFromSnapshotPropsDefault: - true if removalPolicy is RETAIN, false otherwise
getDeletionProtection in interface ServerlessClusterFromSnapshotPropspublic final Boolean getEnableDataApi()
ServerlessClusterFromSnapshotPropsDefault: false
getEnableDataApi in interface ServerlessClusterFromSnapshotPropspublic final IParameterGroup getParameterGroup()
ServerlessClusterFromSnapshotPropsDefault: - no parameter group.
getParameterGroup in interface ServerlessClusterFromSnapshotPropspublic final RemovalPolicy getRemovalPolicy()
ServerlessClusterFromSnapshotPropsDefault: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy in interface ServerlessClusterFromSnapshotPropspublic final ServerlessScalingOptions getScaling()
ServerlessClusterFromSnapshotPropsDefault: - Serverless cluster is automatically paused after 5 minutes of being idle. minimum capacity: 2 ACU maximum capacity: 16 ACU
getScaling in interface ServerlessClusterFromSnapshotPropspublic final List<ISecurityGroup> getSecurityGroups()
ServerlessClusterFromSnapshotPropsDefault: - 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 ServerlessClusterFromSnapshotPropspublic final ISubnetGroup getSubnetGroup()
ServerlessClusterFromSnapshotPropsDefault: - 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 ServerlessClusterFromSnapshotPropspublic final IVpc getVpc()
ServerlessClusterFromSnapshotPropsDefault: - the default VPC in the account and region will be used
getVpc in interface ServerlessClusterFromSnapshotPropspublic final SubnetSelection getVpcSubnets()
ServerlessClusterFromSnapshotProps
If provided, the vpc property must also be specified.
Default: - the VPC default strategy if not specified.
getVpcSubnets in interface ServerlessClusterFromSnapshotProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.