O recurso ALIYUN::OOS::ApplicationConnectionBind associa conexões de aplicativos.
Sintaxe
{
"Type": "ALIYUN::OOS::ApplicationConnectionBind",
"Properties": {
"ConnectionIds": List,
"ApplicationName": String,
"ApplicationGroupName": String
}
}
Propriedades
Parâmetro | Tipo | Obrigatório | Atualização Permitida | Descrição | Restrições |
ConnectionIds | List | Sim | Não | Lista de IDs de conexão a serem associados. | Comprimento máximo: 100 |
ApplicationGroupName | String | Não | Não | Nome do grupo de aplicativos. | Nenhuma |
ApplicationName | String | Não | Não | Nome do aplicativo. | Nenhuma |
Valores de retorno
Fn::GetAtt
Nenhum
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ConnectionIds:
Description:
en: A list of connection IDs to bind.The list can contain up to 100 IDs.
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": "A list of connection IDs to bind.\nThe list can contain up to 100 IDs."
},
"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": {}
}