ALIYUN::SAG::ACLAssociation 类型用于将访问控制与智能接入网关实例绑定。

语法

{
  "Type": "ALIYUN::SAG::ACLAssociation",
  "Properties": {
    "SmartAGId": String,
    "AclId": String
  }
}

属性

属性名称 类型 必须 允许更新 描述 约束
SmartAGId String 需要绑定访问控制的智能网关实例。
AclId String 访问控制ID。

返回值

Fn::GetAtt

无。

示例

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "ACLAssociation": {
      "Type": "ALIYUN::SAG::ACLAssociation",
      "Properties": {
        "SmartAGId": {
          "Ref": "SmartAGId"
        },
        "AclId": {
          "Ref": "AclId"
        }
      }
    }
  },
  "Parameters": {
    "SmartAGId": {
      "Type": "String",
      "Description": "An intelligent gateway instance that needs to bind access control."
    },
    "AclId": {
      "Type": "String",
      "Description": "Access control ID."
    }
  },
  "Outputs": {
    "SmartAGId": {
      "Description": "An intelligent gateway instance that needs to bind access control.",
      "Value": {
        "Fn::GetAtt": [
          "ACLAssociation",
          "SmartAGId"
        ]
      }
    }
  }
}