@Stability(value=Experimental) @Internal public static final class DatabaseClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseClusterProps
DatabaseClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeDatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(InstanceProps instanceProps,
Login masterUser,
BackupProps backup,
String dbClusterName,
String engineVersion,
String instanceIdentifierBase,
Number instances,
IKey kmsKey,
IClusterParameterGroup parameterGroup,
Number port,
String preferredMaintenanceWindow,
RemovalPolicy removalPolicy,
Boolean storageEncrypted)
Constructor that initializes the object based on literal property values passed by the
DatabaseClusterProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
BackupProps |
getBackup()
(experimental) Backup settings.
|
String |
getDbClusterName()
(experimental) An optional identifier for the cluster.
|
String |
getEngineVersion()
(experimental) What version of the database to start.
|
String |
getInstanceIdentifierBase()
(experimental) Base identifier for instances.
|
InstanceProps |
getInstanceProps()
(experimental) Settings for the individual instances that are launched.
|
Number |
getInstances()
(experimental) Number of DocDB compute instances.
|
IKey |
getKmsKey()
(experimental) The KMS key for storage encryption.
|
Login |
getMasterUser()
(experimental) Username and password for the administrative user.
|
IClusterParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine.
|
Number |
getPort()
(experimental) The port the DocumentDB cluster will listen on.
|
String |
getPreferredMaintenanceWindow()
(experimental) A weekly time range in which maintenance should preferably execute.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.
|
Boolean |
getStorageEncrypted()
(experimental) Whether to enable storage encryption.
|
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(InstanceProps instanceProps, Login masterUser, BackupProps backup, String dbClusterName, String engineVersion, String instanceIdentifierBase, Number instances, IKey kmsKey, IClusterParameterGroup parameterGroup, Number port, String preferredMaintenanceWindow, RemovalPolicy removalPolicy, Boolean storageEncrypted)
DatabaseClusterProps.Builder.public final InstanceProps getInstanceProps()
DatabaseClusterPropsgetInstanceProps in interface DatabaseClusterPropspublic final Login getMasterUser()
DatabaseClusterPropsgetMasterUser in interface DatabaseClusterPropspublic final BackupProps getBackup()
DatabaseClusterPropsDefault: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
getBackup in interface DatabaseClusterPropshttps://docs.aws.amazon.com/documentdb/latest/developerguide/backup-restore.db-cluster-snapshots.html#backup-restore.backup-windowpublic final String getDbClusterName()
DatabaseClusterPropsDefault: - A name is automatically generated.
getDbClusterName in interface DatabaseClusterPropspublic final String getEngineVersion()
DatabaseClusterPropsDefault: - The default engine version.
getEngineVersion in interface DatabaseClusterPropspublic final String getInstanceIdentifierBase()
DatabaseClusterPropsEvery replica is named by appending the replica number to this string, 1-based.
Default: - `dbClusterName` is used with the word "Instance" appended. If `dbClusterName` is not provided, the identifier is automatically generated.
getInstanceIdentifierBase in interface DatabaseClusterPropspublic final Number getInstances()
DatabaseClusterPropsDefault: 1
getInstances in interface DatabaseClusterPropspublic final IKey getKmsKey()
DatabaseClusterPropsDefault: - default master key.
getKmsKey in interface DatabaseClusterPropspublic final IClusterParameterGroup getParameterGroup()
DatabaseClusterPropsDefault: - No parameter group.
getParameterGroup in interface DatabaseClusterPropspublic final Number getPort()
DatabaseClusterPropsDefault: DatabaseCluster.DEFAULT_PORT
getPort in interface DatabaseClusterPropspublic final String getPreferredMaintenanceWindow()
DatabaseClusterPropsMust be at least 30 minutes long.
Example: 'tue:04:17-tue:04:47'
Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
getPreferredMaintenanceWindow in interface DatabaseClusterPropshttps://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-maintain.html#maintenance-windowpublic final RemovalPolicy getRemovalPolicy()
DatabaseClusterPropsThis removal policy also applies to the implicit security group created for the cluster if one is not supplied as a parameter.
Default: - Retain cluster.
getRemovalPolicy in interface DatabaseClusterPropspublic final Boolean getStorageEncrypted()
DatabaseClusterPropsDefault: true
getStorageEncrypted in interface DatabaseClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.