You can call this operation to create a public endpoint for a cluster.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to

AllocateClusterPublicConnection.

DBClusterId String Yes The ID of the cluster.
ConnectionStringPrefix String No The prefix of the endpoint. The prefix must comply with the following rules:
  • It can contain lowercase letters, digits, and hyphens (-) and must start with a lowercase letter.
  • It can be up to 30 characters in length.
Note The cluster name is used by default.

Response parameters

Parameter Type Description
<Common response parameters> - For more information, see Common parameters.
RequestId String The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=AllocateClusterPublicConnection
&DBClusterId=cc-xxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<AllocateClusterPublicConnectionResponse>  
      <RequestId>D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC</RequestId>
</AllocateClusterPublicConnectionResponse>

JSON format

{
    "RequestId":"D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}