Skip to content

WaitingRoomEvent

This class encapsulates and extends the ROS resource type ALIYUN::ESA::WaitingRoomEvent.

Initializers

import ros_cdk_esa
ros_cdk_esa.WaitingRoomEvent(
  scope: Construct,
  id: str,
  end_time: typing.Union[str, IResolvable],
  new_users_per_minute: typing.Union[typing.Union[int, float], IResolvable],
  queuing_method: typing.Union[str, IResolvable],
  queuing_status_code: typing.Union[str, IResolvable],
  session_duration: typing.Union[typing.Union[int, float], IResolvable],
  site_id: typing.Union[typing.Union[int, float], IResolvable],
  start_time: typing.Union[str, IResolvable],
  total_active_users: typing.Union[typing.Union[int, float], IResolvable],
  waiting_room_event_name: typing.Union[str, IResolvable],
  waiting_room_type: typing.Union[str, IResolvable],
  custom_page_html: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  disable_session_renewal_enable: typing.Union[str, IResolvable] = None,
  json_response_enable: typing.Union[str, IResolvable] = None,
  language: typing.Union[str, IResolvable] = None,
  pre_queue_enable: typing.Union[str, IResolvable] = None,
  pre_queue_start_time: typing.Union[str, IResolvable] = None,
  random_pre_queue_enable: typing.Union[str, IResolvable] = None,
  waiting_room_id: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
end_time typing.Union[str, ros_cdk_core.IResolvable] Property endTime: The timestamp of the end time of the event.
new_users_per_minute typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property newUsersPerMinute: Number of new users per minute.
queuing_method typing.Union[str, ros_cdk_core.IResolvable] Property queuingMethod: Way of queuing.
queuing_status_code typing.Union[str, ros_cdk_core.IResolvable] Property queuingStatusCode: Waiting room status code.
session_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property sessionDuration: User session duration in minutes.
site_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property siteId: The site ID, which can be obtained by calling the ListSites API.
start_time typing.Union[str, ros_cdk_core.IResolvable] Property startTime: The timestamp of the event start time.
total_active_users typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property totalActiveUsers: Total number of active users.
waiting_room_event_name typing.Union[str, ros_cdk_core.IResolvable] Property waitingRoomEventName: Event name, custom event description.
waiting_room_type typing.Union[str, ros_cdk_core.IResolvable] Property waitingRoomType: Waiting room type.
custom_page_html typing.Union[str, ros_cdk_core.IResolvable] Property customPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Waiting room description.
disable_session_renewal_enable typing.Union[str, ros_cdk_core.IResolvable] Property disableSessionRenewalEnable: Disable session renewal.
json_response_enable typing.Union[str, ros_cdk_core.IResolvable] Property jsonResponseEnable: JSON response switch.
language typing.Union[str, ros_cdk_core.IResolvable] Property language: Default language setting.
pre_queue_enable typing.Union[str, ros_cdk_core.IResolvable] Property preQueueEnable: Pre-queue switch.
pre_queue_start_time typing.Union[str, ros_cdk_core.IResolvable] Property preQueueStartTime: Pre-queue start time.
random_pre_queue_enable typing.Union[str, ros_cdk_core.IResolvable] Property randomPreQueueEnable: Random queue switch.
waiting_room_id typing.Union[str, ros_cdk_core.IResolvable] Property waitingRoomId: Waiting room ID, used to identify a specific waiting room.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

end_timeRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property endTime: The timestamp of the end time of the event.


new_users_per_minuteRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property newUsersPerMinute: Number of new users per minute.


queuing_methodRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property queuingMethod: Way of queuing.

Value:

  • random: random.
  • fifo: first in, first out.
  • passthrough: through.
  • reject-all: reject all.

queuing_status_codeRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property queuingStatusCode: Waiting room status code.

Value:

  • 200
  • 202
  • 429.

session_durationRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property sessionDuration: User session duration in minutes.


site_idRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property siteId: The site ID, which can be obtained by calling the ListSites API.


start_timeRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property startTime: The timestamp of the event start time.


total_active_usersRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property totalActiveUsers: Total number of active users.


waiting_room_event_nameRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property waitingRoomEventName: Event name, custom event description.


waiting_room_typeRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property waitingRoomType: Waiting room type.

The following types are supported:

  • default: the default type.
  • custom: custom type.

custom_page_htmlOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property customPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.

The incoming content needs to be base64 encoded.


descriptionOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: Waiting room description.


disable_session_renewal_enableOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property disableSessionRenewalEnable: Disable session renewal.

Value:

  • on: open.
  • off: closed.

json_response_enableOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property jsonResponseEnable: JSON response switch.

Value:

  • on: open.
  • off: closed.

languageOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property language: Default language setting.

Values include:

  • enus: English.
  • zhcn: Simplified Chinese.
  • zhhk: Traditional Chinese.

pre_queue_enableOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property preQueueEnable: Pre-queue switch.

  • on: open.
  • off: closed.

pre_queue_start_timeOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property preQueueStartTime: Pre-queue start time.


random_pre_queue_enableOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property randomPreQueueEnable: Random queue switch.

  • on: open.
  • off: closed.

waiting_room_idOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property waitingRoomId: Waiting room ID, used to identify a specific waiting room.

It can be obtained by calling the listwaitingroom interface.


enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

Name Description
is_construct Return whether the given object is a Construct.

is_construct

import ros_cdk_esa
ros_cdk_esa.WaitingRoomEvent.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_custom_page_html typing.Union[str, ros_cdk_core.IResolvable] Attribute CustomPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: Waiting room description.
attr_disable_session_renewal_enable typing.Union[str, ros_cdk_core.IResolvable] Attribute DisableSessionRenewalEnable: Disable session renewal.
attr_end_time typing.Union[str, ros_cdk_core.IResolvable] Attribute EndTime: The timestamp of the end time of the event.
attr_json_response_enable typing.Union[str, ros_cdk_core.IResolvable] Attribute JsonResponseEnable: JSON response switch.
attr_language typing.Union[str, ros_cdk_core.IResolvable] Attribute Language: Default language setting.
attr_new_users_per_minute typing.Union[str, ros_cdk_core.IResolvable] Attribute NewUsersPerMinute: Number of new users per minute.
attr_pre_queue_enable typing.Union[str, ros_cdk_core.IResolvable] Attribute PreQueueEnable: Pre-queue switch.
attr_pre_queue_start_time typing.Union[str, ros_cdk_core.IResolvable] Attribute PreQueueStartTime: Pre-queue start time.
attr_queuing_method typing.Union[str, ros_cdk_core.IResolvable] Attribute QueuingMethod: Way of queuing.
attr_queuing_status_code typing.Union[str, ros_cdk_core.IResolvable] Attribute QueuingStatusCode: Waiting room status code.
attr_random_pre_queue_enable typing.Union[str, ros_cdk_core.IResolvable] Attribute RandomPreQueueEnable: Random queue switch.
attr_session_duration typing.Union[str, ros_cdk_core.IResolvable] Attribute SessionDuration: User session duration in minutes.
attr_start_time typing.Union[str, ros_cdk_core.IResolvable] Attribute StartTime: The timestamp of the event start time.
attr_total_active_users typing.Union[str, ros_cdk_core.IResolvable] Attribute TotalActiveUsers: Total number of active users.
attr_waiting_room_event_id typing.Union[str, ros_cdk_core.IResolvable] Attribute WaitingRoomEventId: The waiting room event ID, which can be obtained by calling the ListWaitingRoomEvents operation.
attr_waiting_room_event_name typing.Union[str, ros_cdk_core.IResolvable] Attribute WaitingRoomEventName: Event name, custom event description.
attr_waiting_room_id typing.Union[str, ros_cdk_core.IResolvable] Attribute WaitingRoomId: Waiting room ID, used to identify a specific waiting room.
attr_waiting_room_type typing.Union[str, ros_cdk_core.IResolvable] Attribute WaitingRoomType: Waiting room type.
props WaitingRoomEventProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_custom_page_htmlRequired

attr_custom_page_html: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CustomPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.

The incoming content needs to be base64 encoded.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: Waiting room description.


attr_disable_session_renewal_enableRequired

attr_disable_session_renewal_enable: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute DisableSessionRenewalEnable: Disable session renewal.


attr_end_timeRequired

attr_end_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute EndTime: The timestamp of the end time of the event.


attr_json_response_enableRequired

attr_json_response_enable: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute JsonResponseEnable: JSON response switch.


attr_languageRequired

attr_language: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Language: Default language setting.


attr_new_users_per_minuteRequired

attr_new_users_per_minute: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute NewUsersPerMinute: Number of new users per minute.


attr_pre_queue_enableRequired

attr_pre_queue_enable: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PreQueueEnable: Pre-queue switch.


attr_pre_queue_start_timeRequired

attr_pre_queue_start_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PreQueueStartTime: Pre-queue start time.


attr_queuing_methodRequired

attr_queuing_method: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute QueuingMethod: Way of queuing.


attr_queuing_status_codeRequired

attr_queuing_status_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute QueuingStatusCode: Waiting room status code.


attr_random_pre_queue_enableRequired

attr_random_pre_queue_enable: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RandomPreQueueEnable: Random queue switch.


attr_session_durationRequired

attr_session_duration: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SessionDuration: User session duration in minutes.


attr_start_timeRequired

attr_start_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute StartTime: The timestamp of the event start time.


attr_total_active_usersRequired

attr_total_active_users: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute TotalActiveUsers: Total number of active users.


attr_waiting_room_event_idRequired

attr_waiting_room_event_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute WaitingRoomEventId: The waiting room event ID, which can be obtained by calling the ListWaitingRoomEvents operation.


attr_waiting_room_event_nameRequired

attr_waiting_room_event_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute WaitingRoomEventName: Event name, custom event description.


attr_waiting_room_idRequired

attr_waiting_room_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute WaitingRoomId: Waiting room ID, used to identify a specific waiting room.

It can be obtained by calling the listwaitingroom interface.


attr_waiting_room_typeRequired

attr_waiting_room_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute WaitingRoomType: Waiting room type.


propsRequired

props: WaitingRoomEventProps