Class ServerlessClusterFromSnapshotProps.Jsii$Proxy
- All Implemented Interfaces:
ServerlessClusterFromSnapshotProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ServerlessClusterFromSnapshotProps
ServerlessClusterFromSnapshotProps
-
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.ServerlessClusterFromSnapshotProps
ServerlessClusterFromSnapshotProps.Builder, ServerlessClusterFromSnapshotProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theServerlessClusterFromSnapshotProps.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 number of days during which automatic DB snapshots are retained.final String
An optional identifier for the cluster.final Boolean
Whether to copy tags to the snapshot when a snapshot is created.final SnapshotCredentials
Master user credentials.final String
Name of a database which is automatically created inside the cluster.final Boolean
Indicates whether the DB cluster should have deletion protection enabled.final Boolean
Whether to enable the Data API.final IClusterEngine
What kind of database to start.final IParameterGroup
Additional parameters to pass to the database engine.final RemovalPolicy
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.final ServerlessScalingOptions
Scaling configuration of an Aurora Serverless database cluster.final List<ISecurityGroup>
Security group.final String
The identifier for the DB instance snapshot or DB cluster snapshot to restore from.final ISubnetGroup
Existing subnet group for the cluster.final IVpc
getVpc()
The VPC that this Aurora Serverless v1 Cluster has been created in.final SubnetSelection
Where to place the instances within the VPC.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 theServerlessClusterFromSnapshotProps.Builder
.
-
-
Method Details
-
getEngine
Description copied from interface:ServerlessClusterFromSnapshotProps
What kind of database to start.- Specified by:
getEngine
in interfaceServerlessClusterFromSnapshotProps
-
getSnapshotIdentifier
Description copied from interface:ServerlessClusterFromSnapshotProps
The identifier for the DB instance snapshot or DB cluster snapshot to restore from.You 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.
- Specified by:
getSnapshotIdentifier
in interfaceServerlessClusterFromSnapshotProps
-
getBackupRetention
Description copied from interface:ServerlessClusterFromSnapshotProps
The number of days during which automatic DB snapshots are retained.Automatic backup retention cannot be disabled on serverless clusters. Must be a value from 1 day to 35 days.
Default: Duration.days(1)
- Specified by:
getBackupRetention
in interfaceServerlessClusterFromSnapshotProps
-
getClusterIdentifier
Description copied from interface:ServerlessClusterFromSnapshotProps
An optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getClusterIdentifier
in interfaceServerlessClusterFromSnapshotProps
-
getCopyTagsToSnapshot
Description copied from interface:ServerlessClusterFromSnapshotProps
Whether to copy tags to the snapshot when a snapshot is created.Default: - true
- Specified by:
getCopyTagsToSnapshot
in interfaceServerlessClusterFromSnapshotProps
-
getCredentials
Description copied from interface:ServerlessClusterFromSnapshotProps
Master user credentials.Note - 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.
- Specified by:
getCredentials
in interfaceServerlessClusterFromSnapshotProps
-
getDefaultDatabaseName
Description copied from interface:ServerlessClusterFromSnapshotProps
Name of a database which is automatically created inside the cluster.Default: - Database is not created in cluster.
- Specified by:
getDefaultDatabaseName
in interfaceServerlessClusterFromSnapshotProps
-
getDeletionProtection
Description copied from interface:ServerlessClusterFromSnapshotProps
Indicates whether the DB cluster should have deletion protection enabled.Default: - true if removalPolicy is RETAIN, false otherwise
- Specified by:
getDeletionProtection
in interfaceServerlessClusterFromSnapshotProps
-
getEnableDataApi
Description copied from interface:ServerlessClusterFromSnapshotProps
Whether to enable the Data API.Default: false
- Specified by:
getEnableDataApi
in interfaceServerlessClusterFromSnapshotProps
- See Also:
-
getParameterGroup
Description copied from interface:ServerlessClusterFromSnapshotProps
Additional parameters to pass to the database engine.Default: - no parameter group.
- Specified by:
getParameterGroup
in interfaceServerlessClusterFromSnapshotProps
-
getRemovalPolicy
Description copied from interface:ServerlessClusterFromSnapshotProps
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.Default: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
- Specified by:
getRemovalPolicy
in interfaceServerlessClusterFromSnapshotProps
-
getScaling
Description copied from interface:ServerlessClusterFromSnapshotProps
Scaling configuration of an Aurora Serverless database cluster.Default: - Serverless cluster is automatically paused after 5 minutes of being idle. minimum capacity: 2 ACU maximum capacity: 16 ACU
- Specified by:
getScaling
in interfaceServerlessClusterFromSnapshotProps
-
getSecurityGroups
Description copied from interface:ServerlessClusterFromSnapshotProps
Security group.Default: - 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.
- Specified by:
getSecurityGroups
in interfaceServerlessClusterFromSnapshotProps
-
getSubnetGroup
Description copied from interface:ServerlessClusterFromSnapshotProps
Existing subnet group for the cluster.Default: - 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
- Specified by:
getSubnetGroup
in interfaceServerlessClusterFromSnapshotProps
-
getVpc
Description copied from interface:ServerlessClusterFromSnapshotProps
The VPC that this Aurora Serverless v1 Cluster has been created in.Default: - the default VPC in the account and region will be used
- Specified by:
getVpc
in interfaceServerlessClusterFromSnapshotProps
-
getVpcSubnets
Description copied from interface:ServerlessClusterFromSnapshotProps
Where to place the instances within the VPC.If provided, the
vpc
property must also be specified.Default: - the VPC default strategy if not specified.
- Specified by:
getVpcSubnets
in interfaceServerlessClusterFromSnapshotProps
-
$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()
-