ALIYUN::SAG::ACLAssociation類型用于綁定訪問控制與智能接入網關實例。

語法

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

屬性

屬性名稱 類型 必須 允許更新 描述 約束
SmartAGId String 需要綁定訪問控制的智能網關實例ID。
AclId String 訪問控制ID。

返回值

Fn::GetAtt

示例

JSON格式

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

YAML格式

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