@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:35.241Z") @Stability(value=Experimental) public abstract class DatabaseClusterBase extends Resource implements IDatabaseCluster
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.neptune.*;
SecurityGroup securityGroup;
IDatabaseCluster databaseClusterBase = DatabaseClusterBase.fromDatabaseClusterAttributes(this, "MyDatabaseClusterBase", DatabaseClusterAttributes.builder()
.clusterEndpointAddress("clusterEndpointAddress")
.clusterIdentifier("clusterIdentifier")
.clusterResourceIdentifier("clusterResourceIdentifier")
.port(123)
.readerEndpointAddress("readerEndpointAddress")
.securityGroup(securityGroup)
.build());
software.constructs.Construct.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIDatabaseCluster.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
DatabaseClusterBase(software.constructs.Construct scope,
String id) |
protected |
DatabaseClusterBase(software.constructs.Construct scope,
String id,
ResourceProps props) |
protected |
DatabaseClusterBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DatabaseClusterBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IDatabaseCluster |
fromDatabaseClusterAttributes(software.constructs.Construct scope,
String id,
DatabaseClusterAttributes attrs)
(experimental) Import an existing DatabaseCluster from properties.
|
abstract Endpoint |
getClusterEndpoint()
(experimental) The endpoint to use for read/write operations.
|
abstract String |
getClusterIdentifier()
(experimental) Identifier of the cluster.
|
abstract Endpoint |
getClusterReadEndpoint()
(experimental) Endpoint to use for load-balanced read-only operations.
|
abstract String |
getClusterResourceIdentifier()
(experimental) Resource identifier of the cluster.
|
abstract Connections |
getConnections()
(experimental) The connections object to implement IConnectable.
|
protected abstract Boolean |
getEnableIamAuthentication() |
Grant |
grantConnect(IGrantable grantee)
(experimental) Grant the given identity connection access to the database.
|
protected abstract void |
setEnableIamAuthentication(Boolean value) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected DatabaseClusterBase(software.amazon.jsii.JsiiObjectRef objRef)
protected DatabaseClusterBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected DatabaseClusterBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ResourceProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
protected DatabaseClusterBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IDatabaseCluster fromDatabaseClusterAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseClusterAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantConnect(@NotNull IGrantable grantee)
grantConnect in interface IDatabaseClustergrantee - This parameter is required.@Stability(value=Experimental) @NotNull public abstract Endpoint getClusterEndpoint()
getClusterEndpoint in interface IDatabaseCluster@Stability(value=Experimental) @NotNull public abstract String getClusterIdentifier()
getClusterIdentifier in interface IDatabaseCluster@Stability(value=Experimental) @NotNull public abstract Endpoint getClusterReadEndpoint()
getClusterReadEndpoint in interface IDatabaseCluster@Stability(value=Experimental) @NotNull public abstract String getClusterResourceIdentifier()
getClusterResourceIdentifier in interface IDatabaseCluster@Stability(value=Experimental) @NotNull public abstract Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @Nullable protected abstract Boolean getEnableIamAuthentication()
@Stability(value=Experimental)
protected abstract void setEnableIamAuthentication(@Nullable
Boolean value)
Copyright © 2022. All rights reserved.