# EndpointProperty

Struct · External

This data type represents the information you need to connect to an Amazon RDS DB instance.

This data type is used as a response element in the following actions:

- `CreateDBInstance`
- `DescribeDBInstances`
- `DeleteDBInstance`

For the data structure that represents Amazon Aurora DB cluster endpoints, see `DBClusterEndpoint` .

- 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.CfnDBInstance.EndpointProperty = {
  address: 'address',
  hostedZoneId: 'hostedZoneId',
  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.CfnDBInstance.EndpointProperty(
    address="address",
    hosted_zone_id="hostedZoneId",
    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")
        .hostedZoneId("hostedZoneId")
        .port("port")
        .build();
```

C#:

```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",
    HostedZoneId = "hostedZoneId",
    Port = "port"
};
```

Go:

```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"),
	HostedZoneId: jsii.String("hostedZoneId"),
	Port: jsii.String("port"),
}
```

## Properties

- `address`: string — Specifies the DNS address of the DB instance.

- `hostedZoneId`: string — Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

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