All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::OOS::ApplicationConnectionBind

Last Updated:Jul 23, 2026

ALIYUN::OOS::ApplicationConnectionBind is used to bind application connections.

Syntax

{
  "Type": "ALIYUN::OOS::ApplicationConnectionBind",
  "Properties": {
    "ConnectionIds": List,
    "ApplicationName": String,
    "ApplicationGroupName": String,
    "Parameters": List
  }
}

Properties

PropertyTypeRequiredEditableDescriptionConstraints
ConnectionIdsListYesNoThe list of connection IDs to bind.Maximum length: 100
ApplicationGroupNameStringNoNoThe name of the application group.None
ApplicationNameStringNoNoThe name of the application.None
ParametersListNoNoThe parameters for the application connection binding.For more information, see Parameters properties.

Parameters syntax

"Parameters":[{
   "ParameterKey": String,
   "ConnectionId": String,
   "ParameterValue": String
}]

Parameters properties

PropertyTypeRequiredEditableDescriptionConstraints
ConnectionIdStringNoNoThe connection ID.None
ParameterKeyStringNoNoThe parameter key.None
ParameterValueStringNoNoThe parameter value.None

Return values

Fn::GetAtt

None

Examples

Scenario 1: Bind a single connection to an OOS application for unified resource management

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 为OOS应用绑定单个连接,实现资源的统一纳管。
  en: Bind a single connection to an OOS application for unified resource management.
Parameters:
  ApplicationName:
    Type: String
    Label:
      zh-cn: 应用名称
      en: Application Name
    Description:
      zh-cn: 需要绑定连接的OOS应用名称。
      en: The name of the OOS application to bind connections to.
  ConnectionId:
    Type: String
    Label:
      zh-cn: 连接ID
      en: Connection ID
    Description:
      zh-cn: 要绑定到应用的连接ID。
      en: The connection ID to bind to the application.
Resources:
  ApplicationConnectionBind:
    Type: ALIYUN::OOS::ApplicationConnectionBind
    Properties:
      ApplicationName:
        Ref: ApplicationName
      ConnectionIds:
        - Ref: ConnectionId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "为OOS应用绑定单个连接,实现资源的统一纳管。",
    "en": "Bind a single connection to an OOS application for unified resource management."
  },
  "Parameters": {
    "ApplicationName": {
      "Type": "String",
      "Label": {
        "zh-cn": "应用名称",
        "en": "Application Name"
      },
      "Description": {
        "zh-cn": "需要绑定连接的OOS应用名称。",
        "en": "The name of the OOS application to bind connections to."
      }
    },
    "ConnectionId": {
      "Type": "String",
      "Label": {
        "zh-cn": "连接ID",
        "en": "Connection ID"
      },
      "Description": {
        "zh-cn": "要绑定到应用的连接ID。",
        "en": "The connection ID to bind to the application."
      }
    }
  },
  "Resources": {
    "ApplicationConnectionBind": {
      "Type": "ALIYUN::OOS::ApplicationConnectionBind",
      "Properties": {
        "ApplicationName": {
          "Ref": "ApplicationName"
        },
        "ConnectionIds": [
          {
            "Ref": "ConnectionId"
          }
        ]
      }
    }
  }
}

Scenario 2: Batch bind multiple connections to an OOS application for centralized management

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 为OOS应用批量绑定多个连接,统一管理多组资源。
  en: Batch bind multiple connections to an OOS application for centralized management.
Parameters:
  ApplicationName:
    Type: String
    Label:
      zh-cn: 应用名称
      en: Application Name
    Description:
      zh-cn: 需要绑定连接的OOS应用名称。
      en: The name of the OOS application to bind connections to.
  ConnectionIds:
    Type: Json
    Label:
      zh-cn: 连接ID列表
      en: Connection ID List
    Description:
      zh-cn: >-
        要绑定到应用的连接ID列表,
        最多支持100个连接。
      en: >-
        List of connection IDs to bind to the application,
        up to 100 connections.
    MaxLength: 100
    AssociationProperty: List[Parameter]
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Required: true
        Label:
          zh-cn: 连接ID
          en: Connection ID
Resources:
  ApplicationConnectionBind:
    Type: ALIYUN::OOS::ApplicationConnectionBind
    Properties:
      ApplicationName:
        Ref: ApplicationName
      ConnectionIds:
        Ref: ConnectionIds
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "为OOS应用批量绑定多个连接,统一管理多组资源。",
    "en": "Batch bind multiple connections to an OOS application for centralized management."
  },
  "Parameters": {
    "ApplicationName": {
      "Type": "String",
      "Label": {
        "zh-cn": "应用名称",
        "en": "Application Name"
      },
      "Description": {
        "zh-cn": "需要绑定连接的OOS应用名称。",
        "en": "The name of the OOS application to bind connections to."
      }
    },
    "ConnectionIds": {
      "Type": "Json",
      "Label": {
        "zh-cn": "连接ID列表",
        "en": "Connection ID List"
      },
      "Description": {
        "zh-cn": "要绑定到应用的连接ID列表,最多支持100个连接。",
        "en": "List of connection IDs to bind to the application, up to 100 connections."
      },
      "MaxLength": 100,
      "AssociationProperty": "List[Parameter]",
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Required": true,
          "Label": {
            "zh-cn": "连接ID",
            "en": "Connection ID"
          }
        }
      }
    }
  },
  "Resources": {
    "ApplicationConnectionBind": {
      "Type": "ALIYUN::OOS::ApplicationConnectionBind",
      "Properties": {
        "ApplicationName": {
          "Ref": "ApplicationName"
        },
        "ConnectionIds": {
          "Ref": "ConnectionIds"
        }
      }
    }
  }
}

Scenario 3: Bind connections to an OOS application group for fine-grained resource management

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 为OOS应用分组绑定连接,实现应用内资源的精细化分组管理。
  en: Bind connections to an OOS application group for fine-grained management.
Parameters:
  ApplicationName:
    Type: String
    Label:
      zh-cn: 应用名称
      en: Application Name
    Description:
      zh-cn: OOS应用的名称。
      en: The name of the OOS application.
  ApplicationGroupName:
    Type: String
    Label:
      zh-cn: 应用分组名称
      en: Application Group Name
    Description:
      zh-cn: >-
        OOS应用下的分组名称,
        用于对连接进行精细化分类管理。
      en: >-
        The application group name under the OOS application
        for fine-grained connection management.
  ConnectionIds:
    Type: Json
    Label:
      zh-cn: 连接ID列表
      en: Connection ID List
    Description:
      zh-cn: >-
        要绑定到应用分组的连接ID列表,
        最多支持100个连接。
      en: >-
        List of connection IDs to bind to the application group,
        up to 100 connections.
    MaxLength: 100
    AssociationProperty: List[Parameter]
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Required: true
        Label:
          zh-cn: 连接ID
          en: Connection ID
Resources:
  ApplicationConnectionBind:
    Type: ALIYUN::OOS::ApplicationConnectionBind
    Properties:
      ApplicationName:
        Ref: ApplicationName
      ApplicationGroupName:
        Ref: ApplicationGroupName
      ConnectionIds:
        Ref: ConnectionIds
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "为OOS应用分组绑定连接,实现应用内资源的精细化分组管理。",
    "en": "Bind connections to an OOS application group for fine-grained management."
  },
  "Parameters": {
    "ApplicationName": {
      "Type": "String",
      "Label": {
        "zh-cn": "应用名称",
        "en": "Application Name"
      },
      "Description": {
        "zh-cn": "OOS应用的名称。",
        "en": "The name of the OOS application."
      }
    },
    "ApplicationGroupName": {
      "Type": "String",
      "Label": {
        "zh-cn": "应用分组名称",
        "en": "Application Group Name"
      },
      "Description": {
        "zh-cn": "OOS应用下的分组名称,用于对连接进行精细化分类管理。",
        "en": "The application group name under the OOS application for fine-grained connection management."
      }
    },
    "ConnectionIds": {
      "Type": "Json",
      "Label": {
        "zh-cn": "连接ID列表",
        "en": "Connection ID List"
      },
      "Description": {
        "zh-cn": "要绑定到应用分组的连接ID列表,最多支持100个连接。",
        "en": "List of connection IDs to bind to the application group, up to 100 connections."
      },
      "MaxLength": 100,
      "AssociationProperty": "List[Parameter]",
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Required": true,
          "Label": {
            "zh-cn": "连接ID",
            "en": "Connection ID"
          }
        }
      }
    }
  },
  "Resources": {
    "ApplicationConnectionBind": {
      "Type": "ALIYUN::OOS::ApplicationConnectionBind",
      "Properties": {
        "ApplicationName": {
          "Ref": "ApplicationName"
        },
        "ApplicationGroupName": {
          "Ref": "ApplicationGroupName"
        },
        "ConnectionIds": {
          "Ref": "ConnectionIds"
        }
      }
    }
  }
}