# DatabaseInstanceAttributes

Properties that describe an existing instance.

- Source: [`aws-docdb/lib/instance.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-docdb/lib/instance.ts#L51)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_docdb as docdb } from 'aws-cdk-lib';
const databaseInstanceAttributes: docdb.DatabaseInstanceAttributes = {
  instanceEndpointAddress: 'instanceEndpointAddress',
  instanceIdentifier: 'instanceIdentifier',
  port: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_docdb as docdb

database_instance_attributes = docdb.DatabaseInstanceAttributes(
    instance_endpoint_address="instanceEndpointAddress",
    instance_identifier="instanceIdentifier",
    port=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.docdb.*;

DatabaseInstanceAttributes databaseInstanceAttributes = DatabaseInstanceAttributes.builder()
        .instanceEndpointAddress("instanceEndpointAddress")
        .instanceIdentifier("instanceIdentifier")
        .port(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DocDB;

var databaseInstanceAttributes = new DatabaseInstanceAttributes {
    InstanceEndpointAddress = "instanceEndpointAddress",
    InstanceIdentifier = "instanceIdentifier",
    Port = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

databaseInstanceAttributes := &DatabaseInstanceAttributes{
	InstanceEndpointAddress: jsii.String("instanceEndpointAddress"),
	InstanceIdentifier: jsii.String("instanceIdentifier"),
	Port: jsii.Number(123),
}
```

## Properties

- `instanceEndpointAddress`: string (required) — The endpoint address.

- `instanceIdentifier`: string (required) — The instance identifier.

- `port`: number (required) — The database port.
