Skip to content

BackendServerAttachmentProps

Properties for defining a BackendServerAttachment.

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

Initializer

import ros_cdk_slb
ros_cdk_slb.BackendServerAttachmentProps(
  load_balancer_id: typing.Union[str, IResolvable],
  backend_server_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  backend_servers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, BackendServersProperty]]] = None,
  backend_server_weight_list: typing.Union[typing.List[typing.Any], IResolvable] = None
)

Properties

Name Type Description
load_balancer_id typing.Union[str, ros_cdk_core.IResolvable] Property loadBalancerId: The id of load balancer.
backend_server_list typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.
backend_servers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, BackendServersProperty]]] Property backendServers: The list of ECS instance, which will attached to load balancer.
backend_server_weight_list typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] Property backendServerWeightList: The comma delimited weight list.

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.


backend_server_listOptional

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

Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.


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 ECS instance, which will attached to load balancer.


backend_server_weight_listOptional

backend_server_weight_list: typing.Union[typing.List[typing.Any], IResolvable]
  • Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]

Property backendServerWeightList: The comma delimited weight list.

If no value specified will use 100. If the length is small than "BackendServerList", it will copy the last one to fill the array.If the property "BackendServers" is setting, this property will be ignored.