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
,IDatabaseCluster.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.919Z")
@Stability(Stable)
public interface IDatabaseCluster
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, ISecretAttachmentTarget
Create a clustered database with a given number of instances.
-
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 TypeMethodDescriptionThe endpoint to use for read/write operations.Identifier of the cluster.Endpoint to use for load-balanced read-only operations.Endpoints which address each individual replica.Identifiers of the replicas.The security group for this database cluster.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. -
getSecurityGroupId
The security group for this database cluster.
-