Create a single VPC Peering connection for the database
POST /databases/{databaseId}/vpc-peerings
Create a single VPC Peering connection for the database.
Authorizations
Parameters
Path Parameters
A database ID.
Request Body
Create VPC Peering request
Schema for creating a VPC peering connection
object
The ID of the VPC to create a peering connection with
The VPC CIDR block where routing will take place
The ID of the account where the VPC is deployed
Region where the VPC is deployed
Flag to set up tls or non tls vpc peering connection
Responses
201
A VPC Peering connection
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Response with information about a VPC peering connection
object
The ID of the account where the VPC is deployed
The ID of the VPC to create a peering connection with
Region where the VPC is deployed
Status of the VPC peering connection
The ID of the peering connection
The VPC CIDR block where routing will take place
The ID of the private hosted zone that the VPC should associate with
Flag to set up tls or non tls vpc peering connection
Example
{
400
Invalid input
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
401
Access token is missing or invalid
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
403
Permission denied
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
404
Resource not found
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
500
Internal Server Error
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error