Interface IDatabaseCluster
Create a clustered database with a given number of instances.
Inherited Members
Namespace: Amazon.CDK.AWS.DocDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTarget
Syntax (vb)
Public Interface IDatabaseCluster
Inherits IResource, IConstruct, IDependable, IConnectable, ISecretAttachmentTarget
Synopsis
Properties
ClusterEndpoint | The endpoint to use for read/write operations. |
ClusterIdentifier | Identifier of the cluster. |
ClusterReadEndpoint | Endpoint to use for load-balanced read-only operations. |
InstanceEndpoints | Endpoints which address each individual replica. |
InstanceIdentifiers | Identifiers of the replicas. |
SecurityGroupId | The security group for this database cluster. |
Properties
ClusterEndpoint
The endpoint to use for read/write operations.
Endpoint ClusterEndpoint { get; }
Property Value
Remarks
Attribute: Endpoint,Port
ClusterIdentifier
Identifier of the cluster.
string ClusterIdentifier { get; }
Property Value
System.String
ClusterReadEndpoint
Endpoint to use for load-balanced read-only operations.
Endpoint ClusterReadEndpoint { get; }
Property Value
Remarks
Attribute: ReadEndpoint
InstanceEndpoints
Endpoints which address each individual replica.
Endpoint[] InstanceEndpoints { get; }
Property Value
Endpoint[]
InstanceIdentifiers
Identifiers of the replicas.
string[] InstanceIdentifiers { get; }
Property Value
System.String[]
SecurityGroupId
The security group for this database cluster.
string SecurityGroupId { get; }
Property Value
System.String