ALIYUN::OOS::ApplicationConnectionBind类型用于绑定应用连接。
语法
{
"Type": "ALIYUN::OOS::ApplicationConnectionBind",
"Properties": {
"ConnectionIds": List,
"ApplicationName": String,
"ApplicationGroupName": String
}
}
属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
ConnectionIds |
List |
是 |
否 |
要绑定的连接ID列表 |
最大长度:100 |
|
ApplicationGroupName |
String |
否 |
否 |
应用组的名称。 |
无 |
|
ApplicationName |
String |
否 |
否 |
应用的名称。 |
无 |
返回值
Fn::GetAtt
无
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ConnectionIds:
Description:
en: |-
The list of connection IDs to bind.
The maximum number of connections is 100.
Required: true
Type: Json
MaxLength: 100
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
Type: String
Default: Null
Required: false
ApplicationName:
Type: String
Description:
en: The name of the application.
Default: Null
Required: false
ApplicationGroupName:
Type: String
Description:
en: The name of the application group.
Default: Null
Required: false
Resources:
ApplicationConnectionBind:
Type: ALIYUN::OOS::ApplicationConnectionBind
Properties:
ConnectionIds:
Ref: ConnectionIds
ApplicationName:
Ref: ApplicationName
ApplicationGroupName:
Ref: ApplicationGroupName
Outputs: {}
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ConnectionIds": {
"Description": {
"en": "The list of connection IDs to bind.\nThe maximum number of connections is 100."
},
"Required": true,
"Type": "Json",
"MaxLength": 100,
"AssociationProperty": "List[Parameter]",
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"Default": null,
"Required": false
}
}
},
"ApplicationName": {
"Type": "String",
"Description": {
"en": "The name of the application."
},
"Default": null,
"Required": false
},
"ApplicationGroupName": {
"Type": "String",
"Description": {
"en": "The name of the application group."
},
"Default": null,
"Required": false
}
},
"Resources": {
"ApplicationConnectionBind": {
"Type": "ALIYUN::OOS::ApplicationConnectionBind",
"Properties": {
"ConnectionIds": {
"Ref": "ConnectionIds"
},
"ApplicationName": {
"Ref": "ApplicationName"
},
"ApplicationGroupName": {
"Ref": "ApplicationGroupName"
}
}
}
},
"Outputs": {}
}该文章对您有帮助吗?