Class DatabaseInstanceBase
(experimental) A new or imported database instance.
Inherited Members
Namespace: Amazon.CDK.AWS.Neptune.Alpha
Assembly: Amazon.CDK.AWS.Neptune.Alpha.dll
Syntax (csharp)
public abstract class DatabaseInstanceBase : Resource, IDatabaseInstance, IResource
Syntax (vb)
Public MustInherit Class DatabaseInstanceBase
Inherits Resource
Implements IDatabaseInstance, IResource
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Neptune.Alpha;
var databaseInstanceBase = DatabaseInstanceBase.FromDatabaseInstanceAttributes(this, "MyDatabaseInstanceBase", new DatabaseInstanceAttributes {
InstanceEndpointAddress = "instanceEndpointAddress",
InstanceIdentifier = "instanceIdentifier",
Port = 123
});
Synopsis
Constructors
DatabaseInstanceBase(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DatabaseInstanceBase(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
DatabaseInstanceBase(Construct, String, IResourceProps) |
Properties
DbInstanceEndpointAddress | (experimental) The instance endpoint address. |
DbInstanceEndpointPort | (experimental) The instance endpoint port. |
InstanceEndpoint | (experimental) The instance endpoint. |
InstanceIdentifier | (experimental) The instance identifier. |
Methods
FromDatabaseInstanceAttributes(Construct, String, IDatabaseInstanceAttributes) | (experimental) Import an existing database instance. |
Metric(String, IMetricOptions) | (experimental) Return the given named metric associated with this database instance. |
Constructors
DatabaseInstanceBase(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DatabaseInstanceBase(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DatabaseInstanceBase(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DatabaseInstanceBase(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
DatabaseInstanceBase(Construct, String, IResourceProps)
protected DatabaseInstanceBase(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
DbInstanceEndpointAddress
(experimental) The instance endpoint address.
public abstract string DbInstanceEndpointAddress { get; }
Property Value
System.String
Remarks
Stability: Experimental
Inheritdoc: true
DbInstanceEndpointPort
(experimental) The instance endpoint port.
public abstract string DbInstanceEndpointPort { get; }
Property Value
System.String
Remarks
Stability: Experimental
Inheritdoc: true
InstanceEndpoint
(experimental) The instance endpoint.
public abstract Endpoint InstanceEndpoint { get; }
Property Value
Remarks
Stability: Experimental
Inheritdoc: true
InstanceIdentifier
(experimental) The instance identifier.
public abstract string InstanceIdentifier { get; }
Property Value
System.String
Remarks
Stability: Experimental
Inheritdoc: true
Methods
FromDatabaseInstanceAttributes(Construct, String, IDatabaseInstanceAttributes)
(experimental) Import an existing database instance.
public static IDatabaseInstance FromDatabaseInstanceAttributes(Construct scope, string id, IDatabaseInstanceAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IDatabaseInstanceAttributes
Returns
Remarks
Stability: Experimental
Metric(String, IMetricOptions)
(experimental) Return the given named metric associated with this database instance.
public virtual Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns
Remarks
Stability: Experimental
Inheritdoc: true