Skip to content

VServerGroupProps

Properties for defining a VServerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-vservergroup

Initializer

import ros_cdk_slb
ros_cdk_slb.VServerGroupProps(
  load_balancer_id: typing.Union[str, IResolvable],
  v_server_group_name: typing.Union[str, IResolvable],
  backend_servers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, BackendServersProperty]]] = 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 load balancer.
v_server_group_name typing.Union[str, ros_cdk_core.IResolvable] Property vServerGroupName: Display name of the VServerGroup.
backend_servers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, BackendServersProperty]]] Property backendServers: The list of a combination of ECS Instance-Port-Weight.Same ecs instance with different port is allowed, but same ecs instance with same port isn't.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

load_balancer_idRequired

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

Property loadBalancerId: The id of load balancer.


v_server_group_nameRequired

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

Property vServerGroupName: Display name of the VServerGroup.


backend_serversOptional

backend_servers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, BackendServersProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, BackendServersProperty]]]

Property backendServers: The list of a combination of ECS Instance-Port-Weight.Same ecs instance with different port is allowed, but same ecs instance with same port isn't.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.