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 CaCertificateThe identifier of the CA certificate used for the instances.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 BooleanWhether to copy tags to the snapshot when a snapshot is created.final StringAn optional identifier for the cluster.final BooleanSpecifies whether this cluster can be deleted.final BooleanA value that indicates whether to enable Performance Insights for the instances in the DB Cluster.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 RemovalPolicyThe removal policy to apply to the cluster's 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 RemovalPolicyThe removal policy to apply to the cluster's security group.ServerlessV2 scaling configuration.final BooleanWhether to enable storage encryption.final StorageTypeThe storage type of the DocDB cluster.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
-
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.
- Specified by:
getBackupin interfaceDatabaseClusterProps- See Also:
-
getCaCertificate
Description copied from interface:DatabaseClusterPropsThe identifier of the CA certificate used for the instances.Specifying or updating this property triggers a reboot.
Default: - DocumentDB will choose a certificate authority
- Specified by:
getCaCertificatein interfaceDatabaseClusterProps- See Also:
-
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
-
getCopyTagsToSnapshot
Description copied from interface:DatabaseClusterPropsWhether to copy tags to the snapshot when a snapshot is created.Default: - false
- Specified by:
getCopyTagsToSnapshotin 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
-
getEnablePerformanceInsights
Description copied from interface:DatabaseClusterPropsA value that indicates whether to enable Performance Insights for the instances in the DB Cluster.Default: - false
- Specified by:
getEnablePerformanceInsightsin interfaceDatabaseClusterProps
-
getEngineVersion
Description copied from interface:DatabaseClusterPropsWhat version of the database to start.Default: - the latest major 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
- Specified by:
getExportAuditLogsToCloudWatchin interfaceDatabaseClusterProps- See Also:
-
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. Only applicable for provisioned clusters.
Default: - `dbClusterName` is used with the word "Instance" appended. If `dbClusterName` is not provided, the identifier is automatically generated.
- Specified by:
getInstanceIdentifierBasein interfaceDatabaseClusterProps
-
getInstanceRemovalPolicy
Description copied from interface:DatabaseClusterPropsThe removal policy to apply to the cluster's instances.Cannot be set to
SNAPSHOT.Default: - `RemovalPolicy.DESTROY` when `removalPolicy` is set to `SNAPSHOT`, `removalPolicy` otherwise.
- Specified by:
getInstanceRemovalPolicyin interfaceDatabaseClusterProps- See Also:
-
getInstances
Description copied from interface:DatabaseClusterPropsNumber of DocDB compute instances.Default: 1
- Specified by:
getInstancesin interfaceDatabaseClusterProps
-
getInstanceType
Description copied from interface:DatabaseClusterPropsWhat type of instance to start for the replicas.Required for provisioned clusters, not applicable for serverless clusters.
Default: None
- Specified by:
getInstanceTypein 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.
When set to
SNAPSHOT, the removal policy for the instances and the security group will default toDESTROYas those resources do not support the policy.Use the
instanceRemovalPolicyandsecurityGroupRemovalPolicyto change the behavior.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
-
getSecurityGroupRemovalPolicy
Description copied from interface:DatabaseClusterPropsThe removal policy to apply to the cluster's security group.Cannot be set to
SNAPSHOT.Default: - `RemovalPolicy.DESTROY` when `removalPolicy` is set to `SNAPSHOT`, `removalPolicy` otherwise.
- Specified by:
getSecurityGroupRemovalPolicyin interfaceDatabaseClusterProps- See Also:
-
getServerlessV2ScalingConfiguration
Description copied from interface:DatabaseClusterPropsServerlessV2 scaling configuration.When specified, the cluster will be created as a serverless cluster.
Default: None
- Specified by:
getServerlessV2ScalingConfigurationin interfaceDatabaseClusterProps
-
getStorageEncrypted
Description copied from interface:DatabaseClusterPropsWhether to enable storage encryption.Default: true
- Specified by:
getStorageEncryptedin interfaceDatabaseClusterProps
-
getStorageType
Description copied from interface:DatabaseClusterPropsThe storage type of the DocDB cluster.I/O-optimized storage is supported starting with engine version 5.0.0.
Default: StorageType.STANDARD
- Specified by:
getStorageTypein interfaceDatabaseClusterProps- See Also:
-
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()
-