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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.docdb.DatabaseClusterProps
DatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(DatabaseClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDatabaseClusterProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final BackupProps
Backup settings.final CaCertificate
The identifier of the CA certificate used for the instances.final RetentionDays
The number of days log events are kept in CloudWatch Logs.final IRole
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.final Boolean
Whether to copy tags to the snapshot when a snapshot is created.final String
An optional identifier for the cluster.final Boolean
Specifies whether this cluster can be deleted.final Boolean
A value that indicates whether to enable Performance Insights for the instances in the DB Cluster.final String
What version of the database to start.final Boolean
Whether the audit logs should be exported to CloudWatch.final Boolean
Whether the profiler logs should be exported to CloudWatch.final String
Base identifier for instances.final RemovalPolicy
The removal policy to apply to the cluster's instances.final Number
Number of DocDB compute instances.final InstanceType
What type of instance to start for the replicas.final IKey
The KMS key for storage encryption.final Login
Username and password for the administrative user.final IClusterParameterGroup
The DB parameter group to associate with the instance.final Number
getPort()
The port the DocumentDB cluster will listen on.final String
A weekly time range in which maintenance should preferably execute.final RemovalPolicy
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.final ISecurityGroup
Security group.final RemovalPolicy
The removal policy to apply to the cluster's security group.final Boolean
Whether to enable storage encryption.final StorageType
The storage type of the DocDB cluster.final IVpc
getVpc()
What subnets to run the DocumentDB instances in.final SubnetSelection
Where to place the instances within the VPC.final int
hashCode()
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:DatabaseClusterProps
What type of instance to start for the replicas.- Specified by:
getInstanceType
in interfaceDatabaseClusterProps
-
getMasterUser
Description copied from interface:DatabaseClusterProps
Username and password for the administrative user.- Specified by:
getMasterUser
in interfaceDatabaseClusterProps
-
getVpc
Description copied from interface:DatabaseClusterProps
What subnets to run the DocumentDB instances in.Must be at least 2 subnets in two different AZs.
- Specified by:
getVpc
in interfaceDatabaseClusterProps
-
getBackup
Description copied from interface:DatabaseClusterProps
Backup 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:
getBackup
in interfaceDatabaseClusterProps
- See Also:
-
getCaCertificate
Description copied from interface:DatabaseClusterProps
The 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:
getCaCertificate
in interfaceDatabaseClusterProps
- See Also:
-
getCloudWatchLogsRetention
Description copied from interface:DatabaseClusterProps
The 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:
getCloudWatchLogsRetention
in interfaceDatabaseClusterProps
-
getCloudWatchLogsRetentionRole
Description copied from interface:DatabaseClusterProps
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.Default: - a new role is created.
- Specified by:
getCloudWatchLogsRetentionRole
in interfaceDatabaseClusterProps
-
getCopyTagsToSnapshot
Description copied from interface:DatabaseClusterProps
Whether to copy tags to the snapshot when a snapshot is created.Default: - false
- Specified by:
getCopyTagsToSnapshot
in interfaceDatabaseClusterProps
-
getDbClusterName
Description copied from interface:DatabaseClusterProps
An optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getDbClusterName
in interfaceDatabaseClusterProps
-
getDeletionProtection
Description copied from interface:DatabaseClusterProps
Specifies 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:
getDeletionProtection
in interfaceDatabaseClusterProps
-
getEnablePerformanceInsights
Description copied from interface:DatabaseClusterProps
A value that indicates whether to enable Performance Insights for the instances in the DB Cluster.Default: - false
- Specified by:
getEnablePerformanceInsights
in interfaceDatabaseClusterProps
-
getEngineVersion
Description copied from interface:DatabaseClusterProps
What version of the database to start.Default: - the latest major version
- Specified by:
getEngineVersion
in interfaceDatabaseClusterProps
-
getExportAuditLogsToCloudWatch
Description copied from interface:DatabaseClusterProps
Whether 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:
getExportAuditLogsToCloudWatch
in interfaceDatabaseClusterProps
- See Also:
-
getExportProfilerLogsToCloudWatch
Description copied from interface:DatabaseClusterProps
Whether 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:
getExportProfilerLogsToCloudWatch
in interfaceDatabaseClusterProps
- See Also:
-
getInstanceIdentifierBase
Description copied from interface:DatabaseClusterProps
Base 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:
getInstanceIdentifierBase
in interfaceDatabaseClusterProps
-
getInstanceRemovalPolicy
Description copied from interface:DatabaseClusterProps
The 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:
getInstanceRemovalPolicy
in interfaceDatabaseClusterProps
- See Also:
-
getInstances
Description copied from interface:DatabaseClusterProps
Number of DocDB compute instances.Default: 1
- Specified by:
getInstances
in interfaceDatabaseClusterProps
-
getKmsKey
Description copied from interface:DatabaseClusterProps
The KMS key for storage encryption.Default: - default master key.
- Specified by:
getKmsKey
in interfaceDatabaseClusterProps
-
getParameterGroup
Description copied from interface:DatabaseClusterProps
The DB parameter group to associate with the instance.Default: no parameter group
- Specified by:
getParameterGroup
in interfaceDatabaseClusterProps
-
getPort
Description copied from interface:DatabaseClusterProps
The port the DocumentDB cluster will listen on.Default: DatabaseCluster.DEFAULT_PORT
- Specified by:
getPort
in interfaceDatabaseClusterProps
-
getPreferredMaintenanceWindow
Description copied from interface:DatabaseClusterProps
A 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:
getPreferredMaintenanceWindow
in interfaceDatabaseClusterProps
- See Also:
-
getRemovalPolicy
Description copied from interface:DatabaseClusterProps
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.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 toDESTROY
as those resources do not support the policy.Use the
instanceRemovalPolicy
andsecurityGroupRemovalPolicy
to change the behavior.Default: - Retain cluster.
- Specified by:
getRemovalPolicy
in interfaceDatabaseClusterProps
-
getSecurityGroup
Description copied from interface:DatabaseClusterProps
Security group.Default: a new security group is created.
- Specified by:
getSecurityGroup
in interfaceDatabaseClusterProps
-
getSecurityGroupRemovalPolicy
Description copied from interface:DatabaseClusterProps
The 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:
getSecurityGroupRemovalPolicy
in interfaceDatabaseClusterProps
- See Also:
-
getStorageEncrypted
Description copied from interface:DatabaseClusterProps
Whether to enable storage encryption.Default: true
- Specified by:
getStorageEncrypted
in interfaceDatabaseClusterProps
-
getStorageType
Description copied from interface:DatabaseClusterProps
The storage type of the DocDB cluster.I/O-optimized storage is supported starting with engine version 5.0.0.
Default: StorageType.STANDARD
- Specified by:
getStorageType
in interfaceDatabaseClusterProps
- See Also:
-
getVpcSubnets
Description copied from interface:DatabaseClusterProps
Where to place the instances within the VPC.Default: private subnets
- Specified by:
getVpcSubnets
in interfaceDatabaseClusterProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-