Class DatabaseInstanceAttributes
Properties that describe an existing instance.
Inheritance
System.Object
DatabaseInstanceAttributes
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class DatabaseInstanceAttributes : Object, IDatabaseInstanceAttributes
Syntax (vb)
Public Class DatabaseInstanceAttributes
Inherits Object
Implements IDatabaseInstanceAttributes
Remarks
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.EC2;
using Amazon.CDK.AWS.RDS;
IInstanceEngine instanceEngine;
SecurityGroup securityGroup;
var databaseInstanceAttributes = new DatabaseInstanceAttributes {
InstanceEndpointAddress = "instanceEndpointAddress",
InstanceIdentifier = "instanceIdentifier",
Port = 123,
SecurityGroups = new [] { securityGroup },
// the properties below are optional
Engine = instanceEngine
};
Synopsis
Constructors
DatabaseInstanceAttributes() |
Properties
Engine | The engine of the existing database Instance. |
InstanceEndpointAddress | The endpoint address. |
InstanceIdentifier | The instance identifier. |
Port | The database port. |
SecurityGroups | The security groups of the instance. |
Constructors
DatabaseInstanceAttributes()
public DatabaseInstanceAttributes()
Properties
Engine
The engine of the existing database Instance.
public IInstanceEngine Engine { get; set; }
Property Value
Remarks
Default: - the imported Instance's engine is unknown
InstanceEndpointAddress
The endpoint address.
public string InstanceEndpointAddress { get; set; }
Property Value
System.String
InstanceIdentifier
The instance identifier.
public string InstanceIdentifier { get; set; }
Property Value
System.String
Port
The database port.
public double Port { get; set; }
Property Value
System.Double
SecurityGroups
The security groups of the instance.
public ISecurityGroup[] SecurityGroups { get; set; }
Property Value