Interface IDatabaseInstanceAttributes
Properties that describe an existing instance.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseInstanceAttributesSyntax (vb)
Public Interface IDatabaseInstanceAttributesRemarks
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,
                InstanceResourceId = "instanceResourceId"
            };Synopsis
Properties
| Engine | The engine of the existing database Instance. | 
| InstanceEndpointAddress | The endpoint address. | 
| InstanceIdentifier | The instance identifier. | 
| InstanceResourceId | The AWS Region-unique, immutable identifier for the DB instance. | 
| Port | The database port. | 
| SecurityGroups | The security groups of the instance. | 
Properties
Engine
The engine of the existing database Instance.
IInstanceEngine? Engine { get; }Property Value
Remarks
Default: - the imported Instance's engine is unknown
InstanceEndpointAddress
The endpoint address.
string InstanceEndpointAddress { get; }Property Value
Remarks
ExampleMetadata: fixture=_generated
InstanceIdentifier
The instance identifier.
string InstanceIdentifier { get; }Property Value
Remarks
ExampleMetadata: fixture=_generated
InstanceResourceId
The AWS Region-unique, immutable identifier for the DB instance.
string? InstanceResourceId { get; }Property Value
Remarks
This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
Port
The database port.
double Port { get; }Property Value
Remarks
ExampleMetadata: fixture=_generated
SecurityGroups
The security groups of the instance.
ISecurityGroup[] SecurityGroups { get; }Property Value
Remarks
ExampleMetadata: fixture=_generated