全部产品
Search
文档中心

Resource Orchestration Service:ALIYUN::SAG::ACLAssociation

更新时间:Jun 26, 2025

ALIYUN::SAG::ACLAssociation digunakan untuk mengaitkan daftar kontrol akses (ACL) dengan instance Smart Access Gateway (SAG).

Sintaksis

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

Properti

PropertiTipeDiperlukanDapat DieditDeskripsiKendala
SmartAGIdStringYaTidakID dari instance SAG yang akan dikaitkan dengan ACL. Tidak ada
AclIdStringYaTidakID dari ACL. Tidak ada

Parameter respons

Fn::GetAtt

Tidak ada

Contoh

JSON Format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  "AclId": {
   "Type": "String",
   "Description": "ID kontrol akses."
  },
  "SmartAGId": {
   "Type": "String",
   "Description": "Sebuah instance gateway cerdas yang perlu mengikat kontrol akses."
  }
 },
 "Resources": {
  "ACLAssociation": {
   "Type": "ALIYUN::SAG::ACLAssociation",
   "Properties": {
    "AclId": {
     "Ref": "AclId"
    },
    "SmartAGId": {
     "Ref": "SmartAGId"
    }
   }
  }
 },
 "Outputs": {}
}

YAML Format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
 AclId:
  Type: String
  Description: ID kontrol akses.
 SmartAGId:
  Type: String
  Description: Sebuah instance gateway cerdas yang perlu mengikat kontrol akses.
Resources:
 ACLAssociation:
  Type: 'ALIYUN::SAG::ACLAssociation'
  Properties:
   AclId:
    Ref: AclId
   SmartAGId:
    Ref: SmartAGId
Outputs: {}