Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ESA::WaitingRoomEvent

Última atualização: Aug 27, 2026

O recurso ALIYUN::ESA::WaitingRoomEvent cria um evento de sala de espera.

Sintaxe

{
  "Type": "ALIYUN::ESA::WaitingRoomEvent",
  "Properties": {
    "EndTime": String,
    "NewUsersPerMinute": Integer,
    "QueuingStatusCode": String,
    "QueuingMethod": String,
    "SiteId": Integer,
    "StartTime": String,
    "SessionDuration": Integer,
    "TotalActiveUsers": Integer,
    "WaitingRoomType": String,
    "WaitingRoomEventName": String,
    "CustomPageHtml": String,
    "Description": String,
    "DisableSessionRenewalEnable": String,
    "JsonResponseEnable": String,
    "Language": String,
    "PreQueueStartTime": String,
    "PreQueueEnable": String,
    "RandomPreQueueEnable": String,
    "WaitingRoomId": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrições

EndTime

String

Sim

Sim

Timestamp de término do evento.

Nenhuma

NewUsersPerMinute

Integer

Sim

Sim

Número de novos usuários admitidos por minuto.

Nenhuma

QueuingMethod

String

Sim

Sim

Método de enfileiramento.

Valores válidos:

  • random

  • fifo: primeiro a entrar, primeiro a sair

  • passthrough

  • reject-all

QueuingStatusCode

String

Sim

Sim

Código de status HTTP da página da sala de espera.

Valores válidos:

  • 200

  • 202

  • 429

SessionDuration

Integer

Sim

Sim

Duração da sessão do usuário, em minutos.

Nenhuma

SiteId

Integer

Sim

Não

ID do site. Para obter esse ID, chame a operação ListSites.

Nenhuma

StartTime

String

Sim

Sim

Timestamp de início do evento.

Nenhuma

TotalActiveUsers

Integer

Sim

Sim

Número total de usuários ativos.

Nenhuma

WaitingRoomEventName

String

Sim

Sim

Nome do evento.

Descrição personalizada do evento.

WaitingRoomType

String

Sim

Sim

Tipo da sala de espera.

Valores válidos:

  • default: tipo padrão.

  • custom: tipo personalizado.

CustomPageHtml

String

Não

Sim

Conteúdo HTML personalizado para a página da sala de espera.

Esta propriedade é obrigatória quando WaitingRoomType está definido como custom. O valor deve estar codificado em Base64.

Description

String

Não

Sim

Descrição do evento da sala de espera.

Nenhuma

DisableSessionRenewalEnable

String

Não

Sim

Indica se a renovação de sessão está desativada.

Valores válidos:

  • on: desativa a renovação de sessão.

  • off: ativa a renovação de sessão.

JsonResponseEnable

String

Não

Sim

Indica se uma resposta JSON será retornada.

Valores válidos:

  • on: ativado

  • off: desativado

Language

String

Não

Sim

Idioma padrão da página da sala de espera.

Valores válidos:

  • enus: inglês

  • zhcn: chinês simplificado

  • zhhk: chinês tradicional

PreQueueEnable

String

Não

Sim

Indica se o recurso de pré-fila está ativado.

Valores válidos:

  • on: ativado

  • off: desativado

PreQueueStartTime

String

Não

Sim

Horário de início do período de pré-fila.

Nenhuma

RandomPreQueueEnable

String

Não

Sim

Indica se a fila aleatória está ativada.

Valores válidos:

  • on: ativado

  • off: desativado

WaitingRoomId

String

Não

Não

ID da sala de espera.

Para obter esse ID, chame a operação ListWaitingRooms.

Valores de retorno

Fn::GetAtt

  • JsonResponseEnable: indica se uma resposta JSON é retornada.

  • Description: descrição do evento da sala de espera.

  • WaitingRoomType: tipo da sala de espera.

  • EndTime: timestamp de término do evento.

  • DisableSessionRenewalEnable: indica se a renovação de sessão está desativada.

  • PreQueueStartTime: horário de início do período de pré-fila.

  • StartTime: timestamp de início do evento.

  • RandomPreQueueEnable: indica se a fila aleatória está ativada.

  • WaitingRoomEventId: ID do evento da sala de espera. Para obter esse ID, chame a operação ListWaitingRoomEvents.

  • WaitingRoomEventName: nome do evento.

  • CustomPageHtml: conteúdo HTML personalizado da página da sala de espera. Este valor está codificado em Base64.

  • QueuingStatusCode: código de status HTTP da página da sala de espera.

  • NewUsersPerMinute: número de novos usuários admitidos por minuto.

  • SessionDuration: duração da sessão do usuário, em minutos.

  • Language: idioma padrão da página da sala de espera.

  • PreQueueEnable: indica se o recurso de pré-fila está ativado.

  • TotalActiveUsers: número total de usuários ativos.

  • WaitingRoomId: ID da sala de espera. Para obter esse ID, chame a operação ListWaitingRooms.

  • QueuingMethod: método de enfileiramento.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  JsonResponseEnable:
    Type: String
    Description:
      en: |-
        Specifies whether to return a JSON response.
        Valid values:
        - `on`: enabled
        - `off`: disabled
    AllowedValues:
      - 'on'
      - 'off'
    Required: false
  SiteId:
    Type: Number
    Description:
      en: The site ID. You can obtain this ID by calling the ListSites operation.
    Required: true
  Description:
    Type: String
    AssociationProperty: TextArea
    Description:
      en: The description of the waiting room event.
    Required: false
  WaitingRoomType:
    Type: String
    Description:
      en: |-
        The type of the waiting room.
        Valid values:
        - `default`: The default type.
        - `custom`: The custom type.
    AllowedValues:
      - default
      - custom
    Required: true
  EndTime:
    Type: String
    Description:
      en: The timestamp when the event ends.
    Required: true
  DisableSessionRenewalEnable:
    Type: String
    Description:
      en: |-
        Specifies whether to disable session renewal.
        Valid values:
        - `on`: disables session renewal.
        - `off`: enables session renewal.
    AllowedValues:
      - 'on'
      - 'off'
    Required: false
  PreQueueStartTime:
    Type: String
    Description:
      en: The start time of the pre-queue period.
    Required: false
  StartTime:
    Type: String
    Description:
      en: The timestamp when the event starts.
    Required: true
  RandomPreQueueEnable:
    Type: String
    Description:
      en: |-
        Specifies whether to enable the random queue.
        Valid values:
        - `on`: enabled
        - `off`: disabled
    AllowedValues:
      - 'on'
      - 'off'
    Required: false
  WaitingRoomEventName:
    Type: String
    Description:
      en: The name of the event.
    Required: true
  CustomPageHtml:
    Type: String
    Description:
      en: The custom HTML content for the waiting room page. This property is required if WaitingRoomType is set to custom. The value must be Base64-encoded.
    Required: false
  QueuingStatusCode:
    Type: String
    Description:
      en: |-
        The HTTP status code for the waiting room page.
        Valid values:
        - `200`
        - `202`
        - `429`
    AllowedValues:
      - '200'
      - '202'
      - '429'
    Required: true
  NewUsersPerMinute:
    Type: Number
    Description:
      en: The number of new users admitted per minute.
    Required: true
  SessionDuration:
    Type: Number
    Description:
      en: The duration of a user session, in minutes.
    Required: true
  Language:
    Type: String
    Description:
      en: |-
        The default language of the waiting room page.
        Valid values:
        - `enus`: English
        - `zhcn`: Simplified Chinese
        - `zhhk`: Traditional Chinese
    AllowedValues:
      - enus
      - zhcn
      - zhhk
    Required: false
  PreQueueEnable:
    Type: String
    Description:
      en: |-
        Specifies whether to enable the pre-queue feature.
        Valid values:
        - `on`: enabled
        - `off`: disabled
    AllowedValues:
      - 'on'
      - 'off'
    Required: false
  TotalActiveUsers:
    Type: Number
    Description:
      en: The total number of active users.
    Required: true
  WaitingRoomId:
    Type: String
    Description:
      en: The ID of the waiting room. You can obtain this ID by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingrooms) operation.
    Required: false
  QueuingMethod:
    Type: String
    Description:
      en: |-
        The queuing method.
        Valid values:
        - `random`
        - `fifo`: first in, first out.
        - `passthrough`
        - `reject-all`
    AllowedValues:
      - random
      - fifo
      - passthrough
      - reject-all
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::ESA::WaitingRoomEvent
    Properties:
      JsonResponseEnable:
        Ref: JsonResponseEnable
      SiteId:
        Ref: SiteId
      Description:
        Ref: Description
      WaitingRoomType:
        Ref: WaitingRoomType
      EndTime:
        Ref: EndTime
      DisableSessionRenewalEnable:
        Ref: DisableSessionRenewalEnable
      PreQueueStartTime:
        Ref: PreQueueStartTime
      StartTime:
        Ref: StartTime
      RandomPreQueueEnable:
        Ref: RandomPreQueueEnable
      WaitingRoomEventName:
        Ref: WaitingRoomEventName
      CustomPageHtml:
        Ref: CustomPageHtml
      QueuingStatusCode:
        Ref: QueuingStatusCode
      NewUsersPerMinute:
        Ref: NewUsersPerMinute
      SessionDuration:
        Ref: SessionDuration
      Language:
        Ref: Language
      PreQueueEnable:
        Ref: PreQueueEnable
      TotalActiveUsers:
        Ref: TotalActiveUsers
      WaitingRoomId:
        Ref: WaitingRoomId
      QueuingMethod:
        Ref: QueuingMethod
Outputs:
  JsonResponseEnable:
    Description: Whether a JSON response is returned.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - JsonResponseEnable
  Description:
    Description: The description of the waiting room event.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  WaitingRoomType:
    Description: The type of the waiting room.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WaitingRoomType
  EndTime:
    Description: The timestamp when the event ends.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - EndTime
  DisableSessionRenewalEnable:
    Description: Whether session renewal is disabled.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - DisableSessionRenewalEnable
  PreQueueStartTime:
    Description: The start time of the pre-queue period.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - PreQueueStartTime
  StartTime:
    Description: The timestamp when the event starts.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - StartTime
  RandomPreQueueEnable:
    Description: Whether the random queue is enabled.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - RandomPreQueueEnable
  WaitingRoomEventId:
    Description: The ID of the waiting room event. You can obtain this ID by calling the [ListWaitingRoomEvents](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingroomevents) operation.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WaitingRoomEventId
  WaitingRoomEventName:
    Description: The name of the event.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WaitingRoomEventName
  CustomPageHtml:
    Description: The custom HTML content for the waiting room page. This value is Base64-encoded.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CustomPageHtml
  QueuingStatusCode:
    Description: The HTTP status code for the waiting room page.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - QueuingStatusCode
  NewUsersPerMinute:
    Description: The number of new users admitted per minute.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - NewUsersPerMinute
  SessionDuration:
    Description: The duration of a user session, in minutes.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - SessionDuration
  Language:
    Description: The default language of the waiting room page.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Language
  PreQueueEnable:
    Description: Whether the pre-queue feature is enabled.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - PreQueueEnable
  TotalActiveUsers:
    Description: The total number of active users.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - TotalActiveUsers
  WaitingRoomId:
    Description: The ID of the waiting room. You can obtain this ID by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingrooms) operation.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WaitingRoomId
  QueuingMethod:
    Description: The queuing method.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - QueuingMethod
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "JsonResponseEnable": {
      "Type": "String",
      "Description": {
        "en": "Specifies whether to return a JSON response.\nValid values:\n- `on`: enabled\n- `off`: disabled"
      },
      "AllowedValues": [
        "on",
        "off"
      ],
      "Required": false
    },
    "SiteId": {
      "Type": "Number",
      "Description": {
        "en": "The site ID. You can obtain this ID by calling the ListSites operation."
      },
      "Required": true
    },
    "Description": {
      "Type": "String",
      "AssociationProperty": "TextArea",
      "Description": {
        "en": "The description of the waiting room event."
      },
      "Required": false
    },
    "WaitingRoomType": {
      "Type": "String",
      "Description": {
        "en": "The type of the waiting room.\nValid values:\n- `default`: The default type.\n- `custom`: The custom type."
      },
      "AllowedValues": [
        "default",
        "custom"
      ],
      "Required": true
    },
    "EndTime": {
      "Type": "String",
      "Description": {
        "en": "The timestamp when the event ends."
      },
      "Required": true
    },
    "DisableSessionRenewalEnable": {
      "Type": "String",
      "Description": {
        "en": "Specifies whether to disable session renewal.\nValid values:\n- `on`: disables session renewal.\n- `off`: enables session renewal."
      },
      "AllowedValues": [
        "on",
        "off"
      ],
      "Required": false
    },
    "PreQueueStartTime": {
      "Type": "String",
      "Description": {
        "en": "The start time of the pre-queue period."
      },
      "Required": false
    },
    "StartTime": {
      "Type": "String",
      "Description": {
        "en": "The timestamp when the event starts."
      },
      "Required": true
    },
    "RandomPreQueueEnable": {
      "Type": "String",
      "Description": {
        "en": "Specifies whether to enable the random queue.\nValid values:\n- `on`: enabled\n- `off`: disabled"
      },
      "AllowedValues": [
        "on",
        "off"
      ],
      "Required": false
    },
    "WaitingRoomEventName": {
      "Type": "String",
      "Description": {
        "en": "The name of the event."
      },
      "Required": true
    },
    "CustomPageHtml": {
      "Type": "String",
      "Description": {
        "en": "The custom HTML content for the waiting room page. This property is required if WaitingRoomType is set to custom. The value must be Base64-encoded."
      },
      "Required": false
    },
    "QueuingStatusCode": {
      "Type": "String",
      "Description": {
        "en": "The HTTP status code for the waiting room page.\nValid values:\n- `200`\n- `202`\n- `429`"
      },
      "AllowedValues": [
        "200",
        "202",
        "429"
      ],
      "Required": true
    },
    "NewUsersPerMinute": {
      "Type": "Number",
      "Description": {
        "en": "The number of new users admitted per minute."
      },
      "Required": true
    },
    "SessionDuration": {
      "Type": "Number",
      "Description": {
        "en": "The duration of a user session, in minutes."
      },
      "Required": true
    },
    "Language": {
      "Type": "String",
      "Description": {
        "en": "The default language of the waiting room page.\nValid values:\n- `enus`: English\n- `zhcn`: Simplified Chinese\n- `zhhk`: Traditional Chinese"
      },
      "AllowedValues": [
        "enus",
        "zhcn",
        "zhhk"
      ],
      "Required": false
    },
    "PreQueueEnable": {
      "Type": "String",
      "Description": {
        "en": "Specifies whether to enable the pre-queue feature.\nValid values:\n- `on`: enabled\n- `off`: disabled"
      },
      "AllowedValues": [
        "on",
        "off"
      ],
      "Required": false
    },
    "TotalActiveUsers": {
      "Type": "Number",
      "Description": {
        "en": "The total number of active users."
      },
      "Required": true
    },
    "WaitingRoomId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the waiting room. You can obtain this ID by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingrooms) operation."
      },
      "Required": false
    },
    "QueuingMethod": {
      "Type": "String",
      "Description": {
        "en": "The queuing method.\nValid values:\n- `random`\n- `fifo`: first in, first out.\n- `passthrough`\n- `reject-all`"
      },
      "AllowedValues": [
        "random",
        "fifo",
        "passthrough",
        "reject-all"
      ],
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ESA::WaitingRoomEvent",
      "Properties": {
        "JsonResponseEnable": {
          "Ref": "JsonResponseEnable"
        },
        "SiteId": {
          "Ref": "SiteId"
        },
        "Description": {
          "Ref": "Description"
        },
        "WaitingRoomType": {
          "Ref": "WaitingRoomType"
        },
        "EndTime": {
          "Ref": "EndTime"
        },
        "DisableSessionRenewalEnable": {
          "Ref": "DisableSessionRenewalEnable"
        },
        "PreQueueStartTime": {
          "Ref": "PreQueueStartTime"
        },
        "StartTime": {
          "Ref": "StartTime"
        },
        "RandomPreQueueEnable": {
          "Ref": "RandomPreQueueEnable"
        },
        "WaitingRoomEventName": {
          "Ref": "WaitingRoomEventName"
        },
        "CustomPageHtml": {
          "Ref": "CustomPageHtml"
        },
        "QueuingStatusCode": {
          "Ref": "QueuingStatusCode"
        },
        "NewUsersPerMinute": {
          "Ref": "NewUsersPerMinute"
        },
        "SessionDuration": {
          "Ref": "SessionDuration"
        },
        "Language": {
          "Ref": "Language"
        },
        "PreQueueEnable": {
          "Ref": "PreQueueEnable"
        },
        "TotalActiveUsers": {
          "Ref": "TotalActiveUsers"
        },
        "WaitingRoomId": {
          "Ref": "WaitingRoomId"
        },
        "QueuingMethod": {
          "Ref": "QueuingMethod"
        }
      }
    }
  },
  "Outputs": {
    "JsonResponseEnable": {
      "Description": "Whether a JSON response is returned.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "JsonResponseEnable"
        ]
      }
    },
    "Description": {
      "Description": "The description of the waiting room event.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "WaitingRoomType": {
      "Description": "The type of the waiting room.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WaitingRoomType"
        ]
      }
    },
    "EndTime": {
      "Description": "The timestamp when the event ends.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "EndTime"
        ]
      }
    },
    "DisableSessionRenewalEnable": {
      "Description": "Whether session renewal is disabled.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "DisableSessionRenewalEnable"
        ]
      }
    },
    "PreQueueStartTime": {
      "Description": "The start time of the pre-queue period.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "PreQueueStartTime"
        ]
      }
    },
    "StartTime": {
      "Description": "The timestamp when the event starts.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "StartTime"
        ]
      }
    },
    "RandomPreQueueEnable": {
      "Description": "Whether the random queue is enabled.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "RandomPreQueueEnable"
        ]
      }
    },
    "WaitingRoomEventId": {
      "Description": "The ID of the waiting room event. You can obtain this ID by calling the [ListWaitingRoomEvents](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingroomevents) operation.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WaitingRoomEventId"
        ]
      }
    },
    "WaitingRoomEventName": {
      "Description": "The name of the event.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WaitingRoomEventName"
        ]
      }
    },
    "CustomPageHtml": {
      "Description": "The custom HTML content for the waiting room page. This value is Base64-encoded.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CustomPageHtml"
        ]
      }
    },
    "QueuingStatusCode": {
      "Description": "The HTTP status code for the waiting room page.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "QueuingStatusCode"
        ]
      }
    },
    "NewUsersPerMinute": {
      "Description": "The number of new users admitted per minute.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "NewUsersPerMinute"
        ]
      }
    },
    "SessionDuration": {
      "Description": "The duration of a user session, in minutes.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "SessionDuration"
        ]
      }
    },
    "Language": {
      "Description": "The default language of the waiting room page.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Language"
        ]
      }
    },
    "PreQueueEnable": {
      "Description": "Whether the pre-queue feature is enabled.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "PreQueueEnable"
        ]
      }
    },
    "TotalActiveUsers": {
      "Description": "The total number of active users.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "TotalActiveUsers"
        ]
      }
    },
    "WaitingRoomId": {
      "Description": "The ID of the waiting room. You can obtain this ID by calling the [ListWaitingRooms](https://www.alibabacloud.com/help/en/edge-security-acceleration/esa/api-esa-2024-09-10-listwaitingrooms) operation.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WaitingRoomId"
        ]
      }
    },
    "QueuingMethod": {
      "Description": "The queuing method.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "QueuingMethod"
        ]
      }
    }
  }
}