Skip to content

ListenerProps

Properties for defining a Listener.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gwlb-listener

Initializer

import ros_cdk_gwlb
ros_cdk_gwlb.ListenerProps(
  load_balancer_id: typing.Union[str, IResolvable],
  server_group_id: typing.Union[str, IResolvable],
  listener_description: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
load_balancer_id typing.Union[str, ros_cdk_core.IResolvable] Property loadBalancerId: The ID of the gateway load balancer instance.
server_group_id typing.Union[str, ros_cdk_core.IResolvable] Property serverGroupId: The ID of the server group.
listener_description typing.Union[str, ros_cdk_core.IResolvable] Property listenerDescription: The custom listener description.
tags typing.List[TagsProperty] Property tags: Tags of listener.

load_balancer_idRequired

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

Property loadBalancerId: The ID of the gateway load balancer instance.


server_group_idRequired

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

Property serverGroupId: The ID of the server group.


listener_descriptionOptional

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

Property listenerDescription: The custom listener description.

The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags of listener.