@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(InstanceType instanceType,
Login masterUser,
IVpc vpc,
BackupProps backup,
String dbClusterName,
String engineVersion,
String instanceIdentifierBase,
Number instances,
IKey kmsKey,
IClusterParameterGroup parameterGroup,
Number port,
String preferredMaintenanceWindow,
RemovalPolicy removalPolicy,
ISecurityGroup securityGroup,
Boolean storageEncrypted,
SubnetSelection vpcSubnets)
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.
|
Number |
getInstances()
(experimental) Number of DocDB compute instances.
|
InstanceType |
getInstanceType()
(experimental) What type of instance to start for the replicas.
|
IKey |
getKmsKey()
(experimental) The KMS key for storage encryption.
|
Login |
getMasterUser()
(experimental) Username and password for the administrative user.
|
IClusterParameterGroup |
getParameterGroup()
(experimental) The DB parameter group to associate with the instance.
|
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.
|
ISecurityGroup |
getSecurityGroup()
(experimental) Security group.
|
Boolean |
getStorageEncrypted()
(experimental) Whether to enable storage encryption.
|
IVpc |
getVpc()
(experimental) What subnets to run the DocumentDB instances in.
|
SubnetSelection |
getVpcSubnets()
(experimental) 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(InstanceType instanceType, Login masterUser, IVpc vpc, BackupProps backup, String dbClusterName, String engineVersion, String instanceIdentifierBase, Number instances, IKey kmsKey, IClusterParameterGroup parameterGroup, Number port, String preferredMaintenanceWindow, RemovalPolicy removalPolicy, ISecurityGroup securityGroup, Boolean storageEncrypted, SubnetSelection vpcSubnets)
DatabaseClusterProps.Builder.public final InstanceType getInstanceType()
DatabaseClusterPropsgetInstanceType in interface DatabaseClusterPropspublic final Login getMasterUser()
DatabaseClusterPropsgetMasterUser in interface DatabaseClusterPropspublic final IVpc getVpc()
DatabaseClusterPropsMust be at least 2 subnets in two different AZs.
getVpc 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 ISecurityGroup getSecurityGroup()
DatabaseClusterPropsDefault: a new security group is created.
getSecurityGroup in interface DatabaseClusterPropspublic final Boolean getStorageEncrypted()
DatabaseClusterPropsDefault: true
getStorageEncrypted in interface DatabaseClusterPropspublic final SubnetSelection getVpcSubnets()
DatabaseClusterPropsDefault: private subnets
getVpcSubnets in interface DatabaseClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.