Class DatabaseInstance
(experimental) A database instance.
Inherited Members
Namespace: Amazon.CDK.AWS.Neptune.Alpha
Assembly: Amazon.CDK.AWS.Neptune.Alpha.dll
Syntax (csharp)
public class DatabaseInstance : DatabaseInstanceBase, IDatabaseInstance, IResource
Syntax (vb)
Public Class DatabaseInstance
Inherits DatabaseInstanceBase
Implements IDatabaseInstance, IResource
Remarks
Stability: Experimental
Resource: AWS::Neptune::DBInstance
ExampleMetadata: fixture=with-cluster infused
Examples
var replica1 = new DatabaseInstance(this, "Instance", new DatabaseInstanceProps {
Cluster = cluster,
InstanceType = InstanceType.R5_LARGE
});
Synopsis
Constructors
DatabaseInstance(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DatabaseInstance(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
DatabaseInstance(Construct, String, IDatabaseInstanceProps) |
Properties
Cluster | (experimental) The instance's database cluster. |
DbInstanceEndpointAddress | (experimental) The instance endpoint address. |
DbInstanceEndpointPort | (experimental) The instance endpoint port. |
InstanceEndpoint | (experimental) The instance endpoint. |
InstanceIdentifier | (experimental) The instance identifier. |
Constructors
DatabaseInstance(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DatabaseInstance(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DatabaseInstance(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DatabaseInstance(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
DatabaseInstance(Construct, String, IDatabaseInstanceProps)
public DatabaseInstance(Construct scope, string id, IDatabaseInstanceProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IDatabaseInstanceProps
Remarks
Stability: Experimental
Properties
Cluster
(experimental) The instance's database cluster.
public virtual IDatabaseCluster Cluster { get; }
Property Value
Remarks
Stability: Experimental
DbInstanceEndpointAddress
(experimental) The instance endpoint address.
public override string DbInstanceEndpointAddress { get; }
Property Value
System.String
Overrides
Remarks
Stability: Experimental
Inheritdoc: true
DbInstanceEndpointPort
(experimental) The instance endpoint port.
public override string DbInstanceEndpointPort { get; }
Property Value
System.String
Overrides
Remarks
Stability: Experimental
Inheritdoc: true
InstanceEndpoint
(experimental) The instance endpoint.
public override Endpoint InstanceEndpoint { get; }
Property Value
Overrides
Remarks
Stability: Experimental
Inheritdoc: true
InstanceIdentifier
(experimental) The instance identifier.
public override string InstanceIdentifier { get; }
Property Value
System.String
Overrides
Remarks
Stability: Experimental
Inheritdoc: true