Interface IDatabaseCluster
- All Superinterfaces:
IConnectable
,IConstruct
,software.constructs.IConstruct
,IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDatabaseCluster.Jsii$Default
- All Known Implementing Classes:
DatabaseCluster
,DatabaseClusterBase
,IDatabaseCluster.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.341Z")
@Stability(Experimental)
public interface IDatabaseCluster
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable
(experimental) 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 TypeMethodDescription(experimental) The endpoint to use for read/write operations.(experimental) Identifier of the cluster.(experimental) Endpoint to use for load-balanced read-only operations.(experimental) Resource identifier of the cluster.grantConnect
(IGrantable grantee) (experimental) Grant the given identity connection access to the database.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.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterEndpoint
(experimental) The endpoint to use for read/write operations. -
getClusterIdentifier
(experimental) Identifier of the cluster. -
getClusterReadEndpoint
(experimental) Endpoint to use for load-balanced read-only operations. -
getClusterResourceIdentifier
(experimental) Resource identifier of the cluster. -
grantConnect
(experimental) Grant the given identity connection access to the database.- Parameters:
grantee
- This parameter is required.
-