ALIYUN::OOS::ApplicationConnectionBind

更新时间:
复制为 MD 格式

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": {}
}