@Stability(value=Stable) @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(DatabaseClusterProps.Builder builder)
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()
Backup settings.
|
RetentionDays |
getCloudWatchLogsRetention()
The number of days log events are kept in CloudWatch Logs.
|
IRole |
getCloudWatchLogsRetentionRole()
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
String |
getDbClusterName()
An optional identifier for the cluster.
|
Boolean |
getDeletionProtection()
Specifies whether this cluster can be deleted.
|
String |
getEngineVersion()
What version of the database to start.
|
Boolean |
getExportAuditLogsToCloudWatch()
Whether the audit logs should be exported to CloudWatch.
|
Boolean |
getExportProfilerLogsToCloudWatch()
Whether the profiler logs should be exported to CloudWatch.
|
String |
getInstanceIdentifierBase()
Base identifier for instances.
|
Number |
getInstances()
Number of DocDB compute instances.
|
InstanceType |
getInstanceType()
What type of instance to start for the replicas.
|
IKey |
getKmsKey()
The KMS key for storage encryption.
|
Login |
getMasterUser()
Username and password for the administrative user.
|
IClusterParameterGroup |
getParameterGroup()
The DB parameter group to associate with the instance.
|
Number |
getPort()
The port the DocumentDB cluster will listen on.
|
String |
getPreferredMaintenanceWindow()
A weekly time range in which maintenance should preferably execute.
|
RemovalPolicy |
getRemovalPolicy()
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()
Security group.
|
Boolean |
getStorageEncrypted()
Whether to enable storage encryption.
|
IVpc |
getVpc()
What subnets to run the DocumentDB instances 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(DatabaseClusterProps.Builder builder)
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.
public final RetentionDays getCloudWatchLogsRetention()
DatabaseClusterProps
When updating
this property, unsetting it doesn't remove the log retention policy. To
remove the retention policy, set the value to Infinity.
Default: - logs never expire
getCloudWatchLogsRetention in interface DatabaseClusterPropspublic final IRole getCloudWatchLogsRetentionRole()
DatabaseClusterPropsDefault: - a new role is created.
getCloudWatchLogsRetentionRole in interface DatabaseClusterPropspublic final String getDbClusterName()
DatabaseClusterPropsDefault: - A name is automatically generated.
getDbClusterName in interface DatabaseClusterPropspublic final Boolean getDeletionProtection()
DatabaseClusterPropsIf deletionProtection is enabled, the cluster cannot be deleted unless it is modified and deletionProtection is disabled. deletionProtection protects clusters from being accidentally deleted.
Default: - false
getDeletionProtection in interface DatabaseClusterPropspublic final String getEngineVersion()
DatabaseClusterPropsDefault: - The default engine version.
getEngineVersion in interface DatabaseClusterPropspublic final Boolean getExportAuditLogsToCloudWatch()
DatabaseClusterPropsNote that you also have to configure the audit log export in the Cluster's Parameter Group.
Default: false
public final Boolean getExportProfilerLogsToCloudWatch()
DatabaseClusterPropsNote that you also have to configure the profiler log export in the Cluster's Parameter Group.
Default: false
getExportProfilerLogsToCloudWatch 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 DatabaseClusterPropspublic 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 © 2022. All rights reserved.