ALIYUN::SAG::SmartAccessGatewayBinding 类型用于将智能接入网关绑定到指定的云连接网中。

语法

{
  "Type": "ALIYUN::SAG::SmartAccessGatewayBinding",
  "Properties": {
    "SmartAGId": String,
    "CcnId": String
  }
}

属性

属性名称 类型 必须 允许更新 描述 约束
SmartAGId String 智能接入网关ID。
CcnId String 要绑定的云连接网ID。

返回值

Fn::GetAtt

SmartAGId:智能接入网关ID。

示例

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "SmartAccessGatewayBinding": {
      "Type": "ALIYUN::SAG::SmartAccessGatewayBinding",
      "Properties": {
        "SmartAGId": {
          "Ref": "SmartAGId"
        },
        "CcnId": {
          "Ref": "CcnId"
        }
      }
    }
  },
  "Parameters": {
    "SmartAGId": {
      "Type": "String",
      "Description": "The ID of the Smart Access Gateway instance."
    },
    "CcnId": {
      "Type": "String",
      "Description": "The ID of the CCN instance to bind."
    }
  },
  "Outputs": {
    "SmartAGId": {
      "Description": "The ID of the Smart Access Gateway instance.",
      "Value": {
        "Fn::GetAtt": [
          "SmartAccessGatewayBinding",
          "SmartAGId"
        ]
      }
    }
  }
}