Skip to content
v2.278.0

EndpointProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

addressoptionalstringaddressoptionalstraddressoptionalStringAddressoptionalstringAddressoptional*string #
Specifies the connection endpoint for the primary instance of the DB cluster.
portoptionalstringportoptionalstrportoptionalStringPortoptionalstringPortoptional*string #
Specifies the port that the database engine is listening on.