Class DatabaseClusterProps.Jsii$Proxy
- All Implemented Interfaces:
DatabaseClusterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DatabaseClusterProps
DatabaseClusterProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.docdb.DatabaseClusterProps
DatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DatabaseClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDatabaseClusterProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal BackupPropsBackup settings.final RetentionDaysThe number of days log events are kept in CloudWatch Logs.final IRoleThe IAM role for the Lambda function associated with the custom resource that sets the retention policy.final StringAn optional identifier for the cluster.final BooleanSpecifies whether this cluster can be deleted.final StringWhat version of the database to start.final BooleanWhether the audit logs should be exported to CloudWatch.final BooleanWhether the profiler logs should be exported to CloudWatch.final StringBase identifier for instances.final NumberNumber of DocDB compute instances.final InstanceTypeWhat type of instance to start for the replicas.final IKeyThe KMS key for storage encryption.final LoginUsername and password for the administrative user.final IClusterParameterGroupThe DB parameter group to associate with the instance.final NumbergetPort()The port the DocumentDB cluster will listen on.final StringA weekly time range in which maintenance should preferably execute.final RemovalPolicyThe removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.final ISecurityGroupSecurity group.final BooleanWhether to enable storage encryption.final IVpcgetVpc()What subnets to run the DocumentDB instances in.final SubnetSelectionWhere to place the instances within the VPC.final inthashCode()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 theDatabaseClusterProps.Builder.
-
-
Method Details
-
getInstanceType
Description copied from interface:DatabaseClusterPropsWhat type of instance to start for the replicas.- Specified by:
getInstanceTypein interfaceDatabaseClusterProps
-
getMasterUser
Description copied from interface:DatabaseClusterPropsUsername and password for the administrative user.- Specified by:
getMasterUserin interfaceDatabaseClusterProps
-
getVpc
Description copied from interface:DatabaseClusterPropsWhat subnets to run the DocumentDB instances in.Must be at least 2 subnets in two different AZs.
- Specified by:
getVpcin interfaceDatabaseClusterProps
-
getBackup
Description copied from interface:DatabaseClusterPropsBackup settings.Default: - 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.
-
getCloudWatchLogsRetention
Description copied from interface:DatabaseClusterPropsThe number of days log events are kept in CloudWatch Logs.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
- Specified by:
getCloudWatchLogsRetentionin interfaceDatabaseClusterProps
-
getCloudWatchLogsRetentionRole
Description copied from interface:DatabaseClusterPropsThe IAM role for the Lambda function associated with the custom resource that sets the retention policy.Default: - a new role is created.
- Specified by:
getCloudWatchLogsRetentionRolein interfaceDatabaseClusterProps
-
getDbClusterName
Description copied from interface:DatabaseClusterPropsAn optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getDbClusterNamein interfaceDatabaseClusterProps
-
getDeletionProtection
Description copied from interface:DatabaseClusterPropsSpecifies whether this cluster can be deleted.If 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
- Specified by:
getDeletionProtectionin interfaceDatabaseClusterProps
-
getEngineVersion
Description copied from interface:DatabaseClusterPropsWhat version of the database to start.Default: - The default engine version.
- Specified by:
getEngineVersionin interfaceDatabaseClusterProps
-
getExportAuditLogsToCloudWatch
Description copied from interface:DatabaseClusterPropsWhether the audit logs should be exported to CloudWatch.Note that you also have to configure the audit log export in the Cluster's Parameter Group.
Default: false
-
getExportProfilerLogsToCloudWatch
Description copied from interface:DatabaseClusterPropsWhether the profiler logs should be exported to CloudWatch.Note that you also have to configure the profiler log export in the Cluster's Parameter Group.
Default: false
- Specified by:
getExportProfilerLogsToCloudWatchin interfaceDatabaseClusterProps- See Also:
-
getInstanceIdentifierBase
Description copied from interface:DatabaseClusterPropsBase identifier for instances.Every 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.
- Specified by:
getInstanceIdentifierBasein interfaceDatabaseClusterProps
-
getInstances
Description copied from interface:DatabaseClusterPropsNumber of DocDB compute instances.Default: 1
- Specified by:
getInstancesin interfaceDatabaseClusterProps
-
getKmsKey
Description copied from interface:DatabaseClusterPropsThe KMS key for storage encryption.Default: - default master key.
- Specified by:
getKmsKeyin interfaceDatabaseClusterProps
-
getParameterGroup
Description copied from interface:DatabaseClusterPropsThe DB parameter group to associate with the instance.Default: no parameter group
- Specified by:
getParameterGroupin interfaceDatabaseClusterProps
-
getPort
Description copied from interface:DatabaseClusterPropsThe port the DocumentDB cluster will listen on.Default: DatabaseCluster.DEFAULT_PORT
- Specified by:
getPortin interfaceDatabaseClusterProps
-
getPreferredMaintenanceWindow
Description copied from interface:DatabaseClusterPropsA weekly time range in which maintenance should preferably execute.Must 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.
- Specified by:
getPreferredMaintenanceWindowin interfaceDatabaseClusterProps- See Also:
-
getRemovalPolicy
Description copied from interface:DatabaseClusterPropsThe removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.This removal policy also applies to the implicit security group created for the cluster if one is not supplied as a parameter.
Default: - Retain cluster.
- Specified by:
getRemovalPolicyin interfaceDatabaseClusterProps
-
getSecurityGroup
Description copied from interface:DatabaseClusterPropsSecurity group.Default: a new security group is created.
- Specified by:
getSecurityGroupin interfaceDatabaseClusterProps
-
getStorageEncrypted
Description copied from interface:DatabaseClusterPropsWhether to enable storage encryption.Default: true
- Specified by:
getStorageEncryptedin interfaceDatabaseClusterProps
-
getVpcSubnets
Description copied from interface:DatabaseClusterPropsWhere to place the instances within the VPC.Default: private subnets
- Specified by:
getVpcSubnetsin interfaceDatabaseClusterProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-