ALIYUN::POLARDB::ApplicationEndpointAddress类型用于创建集群公网连接地址。
语法
{
"Type": "ALIYUN::POLARDB::ApplicationEndpointAddress",
"Properties": {
"ApplicationId": String,
"EndpointId": String,
"NetType": String
}
}属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
ApplicationId | String | 是 | 否 | 应用ID。 | 无 |
EndpointId | String | 是 | 否 | 连接地址 ID。 | 无 |
NetType | String | 是 | 否 | 新增连接地址的网络类型。 | 取值:
|
返回值
Fn::GetAtt
无
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
EndpointId:
Type: String
Description:
en: The id of the endpoint.
Required: true
ApplicationId:
Type: String
Description:
en: The id of the application.
Required: true
NetType:
AssociationPropertyMetadata:
LocaleKey: NetType
Type: String
Description:
en: Network type for adding connection address.
AllowedValues:
- Public
Required: true
Resources:
ApplicationEndpointAddress:
Type: ALIYUN::POLARDB::ApplicationEndpointAddress
Properties:
EndpointId:
Ref: EndpointId
ApplicationId:
Ref: ApplicationId
NetType:
Ref: NetType
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"EndpointId": {
"Type": "String",
"Description": {
"en": "The id of the endpoint."
},
"Required": true
},
"ApplicationId": {
"Type": "String",
"Description": {
"en": "The id of the application."
},
"Required": true
},
"NetType": {
"AssociationPropertyMetadata": {
"LocaleKey": "NetType"
},
"Type": "String",
"Description": {
"en": "Network type for adding connection address."
},
"AllowedValues": [
"Public"
],
"Required": true
}
},
"Resources": {
"ApplicationEndpointAddress": {
"Type": "ALIYUN::POLARDB::ApplicationEndpointAddress",
"Properties": {
"EndpointId": {
"Ref": "EndpointId"
},
"ApplicationId": {
"Ref": "ApplicationId"
},
"NetType": {
"Ref": "NetType"
}
}
}
}
}