Interface IDatabaseCluster
- All Superinterfaces:
IConnectable
,IConstruct
,software.constructs.IConstruct
,IDependable
,IResource
,ISecretAttachmentTarget
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDatabaseCluster.Jsii$Default
- All Known Implementing Classes:
DatabaseCluster
,DatabaseClusterBase
,DatabaseClusterFromSnapshot
,IDatabaseCluster.Jsii$Proxy
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIDatabaseCluster
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddProxy
(String id, DatabaseProxyOptions options) Add a new db proxy to this cluster.The endpoint to use for read/write operations.Identifier of the cluster.Endpoint to use for load-balanced read-only operations.default IClusterEngine
The engine of this Cluster.Endpoints which address each individual replica.Identifiers of the replicas.Return the given named metric for this DBCluster.metric
(String metricName, MetricOptions props) Return the given named metric for this DBCluster.The percentage of CPU utilization.The percentage of CPU utilization.The number of database connections in use.The number of database connections in use.The average number of deadlocks in the database per second.metricDeadlocks
(MetricOptions props) The average number of deadlocks in the database per second.The amount of time that the instance has been running, in seconds.metricEngineUptime
(MetricOptions props) The amount of time that the instance has been running, in seconds.The amount of available random access memory, in bytes.The amount of available random access memory, in bytes.The amount of local storage available, in bytes.The amount of local storage available, in bytes.The amount of network throughput received from clients by each instance, in bytes per second.The amount of network throughput received from clients by each instance, in bytes per second.The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.The amount of network throughput sent to clients by each instance, in bytes per second.The amount of network throughput sent to clients by each instance, in bytes per second.The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.The total amount of backup storage in bytes for which you are billed.The total amount of backup storage in bytes for which you are billed.The amount of storage used by your Aurora DB instance, in bytes.The amount of storage used by your Aurora DB instance, in bytes.The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
asSecretAttachmentTarget
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterEndpoint
The endpoint to use for read/write operations. -
getClusterIdentifier
Identifier of the cluster. -
getClusterReadEndpoint
Endpoint to use for load-balanced read-only operations. -
getInstanceEndpoints
Endpoints which address each individual replica. -
getInstanceIdentifiers
Identifiers of the replicas. -
getEngine
The engine of this Cluster.May be not known for imported Clusters if it wasn't provided explicitly.
-
addProxy
@Stability(Stable) @NotNull DatabaseProxy addProxy(@NotNull String id, @NotNull DatabaseProxyOptions options) Add a new db proxy to this cluster.- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
metric
@Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this DBCluster.- Parameters:
metricName
- This parameter is required.props
-
-
metric
Return the given named metric for this DBCluster.- Parameters:
metricName
- This parameter is required.
-
metricCPUUtilization
The percentage of CPU utilization.Average over 5 minutes
- Parameters:
props
-
-
metricCPUUtilization
The percentage of CPU utilization.Average over 5 minutes
-
metricDatabaseConnections
The number of database connections in use.Average over 5 minutes
- Parameters:
props
-
-
metricDatabaseConnections
The number of database connections in use.Average over 5 minutes
-
metricDeadlocks
The average number of deadlocks in the database per second.Average over 5 minutes
- Parameters:
props
-
-
metricDeadlocks
The average number of deadlocks in the database per second.Average over 5 minutes
-
metricEngineUptime
The amount of time that the instance has been running, in seconds.Average over 5 minutes
- Parameters:
props
-
-
metricEngineUptime
The amount of time that the instance has been running, in seconds.Average over 5 minutes
-
metricFreeableMemory
The amount of available random access memory, in bytes.Average over 5 minutes
- Parameters:
props
-
-
metricFreeableMemory
The amount of available random access memory, in bytes.Average over 5 minutes
-
metricFreeLocalStorage
The amount of local storage available, in bytes.Average over 5 minutes
- Parameters:
props
-
-
metricFreeLocalStorage
The amount of local storage available, in bytes.Average over 5 minutes
-
metricNetworkReceiveThroughput
The amount of network throughput received from clients by each instance, in bytes per second.Average over 5 minutes
- Parameters:
props
-
-
metricNetworkReceiveThroughput
The amount of network throughput received from clients by each instance, in bytes per second.Average over 5 minutes
-
metricNetworkThroughput
The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.Average over 5 minutes
- Parameters:
props
-
-
metricNetworkThroughput
The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.Average over 5 minutes
-
metricNetworkTransmitThroughput
The amount of network throughput sent to clients by each instance, in bytes per second.Average over 5 minutes
- Parameters:
props
-
-
metricNetworkTransmitThroughput
The amount of network throughput sent to clients by each instance, in bytes per second.Average over 5 minutes
-
metricSnapshotStorageUsed
The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.Average over 5 minutes
- Parameters:
props
-
-
metricSnapshotStorageUsed
The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.Average over 5 minutes
-
metricTotalBackupStorageBilled
The total amount of backup storage in bytes for which you are billed.Average over 5 minutes
- Parameters:
props
-
-
metricTotalBackupStorageBilled
The total amount of backup storage in bytes for which you are billed.Average over 5 minutes
-
metricVolumeBytesUsed
The amount of storage used by your Aurora DB instance, in bytes.Average over 5 minutes
- Parameters:
props
-
-
metricVolumeBytesUsed
The amount of storage used by your Aurora DB instance, in bytes.Average over 5 minutes
-
metricVolumeReadIOPs
The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.Average over 5 minutes
- Parameters:
props
-
-
metricVolumeReadIOPs
The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.Average over 5 minutes
-
metricVolumeWriteIOPs
The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.Average over 5 minutes
- Parameters:
props
-
-
metricVolumeWriteIOPs
The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.Average over 5 minutes
-