interface EndpointProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.CfnDBInstance.EndpointProperty |
![]() | software.amazon.awscdk.services.rds.CfnDBInstance.EndpointProperty |
![]() | aws_cdk.aws_rds.CfnDBInstance.EndpointProperty |
![]() | @aws-cdk/aws-rds » CfnDBInstance » EndpointProperty |
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
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as rds from '@aws-cdk/aws-rds';
const endpointProperty: rds.CfnDBInstance.EndpointProperty = {
address: 'address',
hostedZoneId: 'hostedZoneId',
port: 'port',
};
Properties
Name | Type | Description |
---|---|---|
address? | string | Specifies the DNS address of the DB instance. |
hosted | 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. |
address?
Type:
string
(optional)
Specifies the DNS address of the DB instance.
hostedZoneId?
Type:
string
(optional)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
port?
Type:
string
(optional)
Specifies the port that the database engine is listening on.