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