Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::SAG::ACL

Última atualização: Jun 27, 2026

ALIYUN::SAG::ACL cria uma lista de controle de acesso (ACL).

Sintaxe

{
  "Type": "ALIYUN::SAG::ACL",
  "Properties": {
    "Name": String
  }
}

Propriedades

Nome

Tipo

Obrigatório

Editável

Descrição

Validade

Name

String

Sim

Sim

Nome da ACL.

O nome deve ter de 2 a 128 caracteres e pode conter letras, dígitos, pontos (.), sublinhados (_) e hifens (-). Deve começar com uma letra, mas não pode iniciar com http:// ou https://.

Parâmetros de resposta

Fn::GetAtt

AclId: ID da ACL.

Exemplos

Formato YAML

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Name:
    Type: String
    Description: |-
      Access control name.
      The length is 2-128 characters. It must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_) and dashes (-), but cannot start with http:// or https://.
Resources:
  ACL:
    Type: ALIYUN::SAG::ACL
    Properties:
      Name:
        Ref: Name
Outputs:
  AclId:
    Description: Access control set ID.
    Value:
      Fn::GetAtt:
        - ACL
        - AclId

Formato JSON

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Name": {
      "Type": "String",
      "Description": "Access control name.\nThe length is 2-128 characters. It must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_) and dashes (-), but cannot start with http:// or https://."
    }
  },
  "Resources": {
    "ACL": {
      "Type": "ALIYUN::SAG::ACL",
      "Properties": {
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "AclId": {
      "Description": "Access control set ID.",
      "Value": {
        "Fn::GetAtt": [
          "ACL",
          "AclId"
        ]
      }
    }
  }
}