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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIDatabaseCluster.static final classA 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
getConnectionsMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
asSecretAttachmentTargetMethods 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.
-