# EndpointProperty

The `Endpoint` return value specifies the connection endpoint for the primary instance of the DB cluster.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const endpointProperty: rds.CfnDBCluster.EndpointProperty = {
  address: 'address',
  port: 'port',
};
```

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_rds as rds

endpoint_property = rds.CfnDBCluster.EndpointProperty(
    address="address",
    port="port"
)
```

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.rds.*;

EndpointProperty endpointProperty = EndpointProperty.builder()
        .address("address")
        .port("port")
        .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.RDS;

var endpointProperty = new EndpointProperty {
    Address = "address",
    Port = "port"
};
```

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"

endpointProperty := &EndpointProperty{
	Address: jsii.String("address"),
	Port: jsii.String("port"),
}
```

## Properties

- `address`: string — Specifies the connection endpoint for the primary instance of the DB cluster.

- `port`: string — Specifies the port that the database engine is listening on.
