interface PostgreSqlSettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DMS.CfnDataProvider.PostgreSqlSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdms#CfnDataProvider_PostgreSqlSettingsProperty |
Java | software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty |
Python | aws_cdk.aws_dms.CfnDataProvider.PostgreSqlSettingsProperty |
TypeScript | aws-cdk-lib » aws_dms » CfnDataProvider » PostgreSqlSettingsProperty |
Provides information that defines a PostgreSQL endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
const postgreSqlSettingsProperty: dms.CfnDataProvider.PostgreSqlSettingsProperty = {
certificateArn: 'certificateArn',
databaseName: 'databaseName',
port: 123,
serverName: 'serverName',
sslMode: 'sslMode',
};
Properties
Name | Type | Description |
---|---|---|
certificate | string | |
database | string | Database name for the endpoint. |
port? | number | Endpoint TCP port. |
server | string | The host name of the endpoint database. |
ssl | string |
certificateArn?
Type:
string
(optional)
databaseName?
Type:
string
(optional)
Database name for the endpoint.
port?
Type:
number
(optional)
Endpoint TCP port.
The default is 5432.
serverName?
Type:
string
(optional)
The host name of the endpoint database.
For an Amazon RDS PostgreSQL instance, this is the output of DescribeDBInstances , in the [Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address
field.
For an Aurora PostgreSQL instance, this is the output of DescribeDBClusters , in the Endpoint
field.
sslMode?
Type:
string
(optional)