Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ESA::CustomList

Última atualização: Jun 27, 2026

Crie uma lista personalizada para o Edge Security Acceleration (ESA).

Sintaxe

{
  "Type": "ALIYUN::ESA::CustomList",
  "Properties": {
    "Items": List,
    "Kind": String,
    "ListName": String,
    "Description": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Atualize permitida

Descrição

Restrições

Items

List

Sim

Sim

Os itens da lista personalizada.

Máximo: 500 itens.

Kind

String

Sim

Não

O tipo da lista personalizada.

Valores válidos:

  • host

  • ip

  • asn

ListName

String

Sim

Sim

O nome da lista personalizada.

Nenhuma

Description

String

Não

Sim

A descrição da lista personalizada.

Nenhuma

Valores de retorno

Fn::GetAtt

  • Description: a descrição da lista personalizada.

  • ListId: o ID da lista personalizada.

  • ListName: o nome da lista personalizada.

  • Kind: o tipo da lista personalizada.

  • UpdateTime: a data e hora da última atualização da lista personalizada.

  • Items: os itens da lista personalizada.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ListName:
    Type: String
    Description:
      en: The name of the custom list.
    Required: true
  Kind:
    Type: String
    Description:
      en: The type of the custom list.
    AllowedValues:
      - host
      - ip
      - asn
    Required: true
  Items:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Description:
          en: The item in the custom list.
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: The items in the custom list, which are displayed as an array.
    Required: true
    MinLength: 0
    MaxLength: 500
Resources:
  ExtensionResource:
    Type: ALIYUN::ESA::CustomList
    Properties:
      ListName:
        Ref: ListName
      Kind:
        Ref: Kind
      Items:
        Ref: Items
Outputs:
  Description:
    Description: The description of the custom list.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  ListId:
    Description: The ID of the custom list.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ListId
  ListName:
    Description: The name of the custom list.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ListName
  Kind:
    Description: The type of the custom list.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Kind
  UpdateTime:
    Description: The time when the custom list was last updated.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - UpdateTime
  Items:
    Description: The items in the custom list, which are displayed as an array.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Items
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ListName": {
      "Type": "String",
      "Description": {
        "en": "The name of the custom list."
      },
      "Required": true
    },
    "Kind": {
      "Type": "String",
      "Description": {
        "en": "The type of the custom list."
      },
      "AllowedValues": [
        "host",
        "ip",
        "asn"
      ],
      "Required": true
    },
    "Items": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Description": {
            "en": "The item in the custom list."
          },
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "The items in the custom list, which are displayed as an array."
      },
      "Required": true,
      "MinLength": 0,
      "MaxLength": 500
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ESA::CustomList",
      "Properties": {
        "ListName": {
          "Ref": "ListName"
        },
        "Kind": {
          "Ref": "Kind"
        },
        "Items": {
          "Ref": "Items"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the custom list.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "ListId": {
      "Description": "The ID of the custom list.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ListId"
        ]
      }
    },
    "ListName": {
      "Description": "The name of the custom list.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ListName"
        ]
      }
    },
    "Kind": {
      "Description": "The type of the custom list.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Kind"
        ]
      }
    },
    "UpdateTime": {
      "Description": "The time when the custom list was last updated.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "UpdateTime"
        ]
      }
    },
    "Items": {
      "Description": "The items in the custom list, which are displayed as an array.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Items"
        ]
      }
    }
  }
}