Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::SAG::ACLAssociation

Última atualização: Jun 27, 2026

Associa uma lista de controle de acesso (ACL) a uma instância do Smart Access Gateway (SAG).

Sintaxe

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

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

SmartAGId

String

Sim

Não

ID da instância SAG para associar à ACL.

Nenhuma

AclId

String

Sim

Não

ID da ACL.

Nenhuma

Parâmetros de resposta

Fn::GetAtt

Nenhum

Exemplos

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

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