Applies for a public endpoint for an ApsaraDB for Redis instance.
Syntax
{
"Type": "ALIYUN::REDIS::Connection",
"Properties": {
"ConnectionType": String,
"InstanceId": String,
"Port": Integer,
"ConnectionStringPrefix": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
ConnectionType |
String |
Yes |
No |
The connection mode of the instance. |
Valid values:
|
|
InstanceId |
String |
Yes |
No |
The instance ID. |
None. |
|
Port |
Integer |
Yes |
Yes |
The port number of the instance. |
Valid values: 1024 to 65535. |
|
ConnectionStringPrefix |
String |
Yes |
No |
The prefix of the public endpoint. |
The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter. Note
A public endpoint is in the following format: |
Return values
Fn::GetAtt
ConnectionString: the public endpoint of the instance.