Skip to content

BackendServerAttachmentProps

Properties for defining a BackendServerAttachment.

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

Initializer

import { BackendServerAttachmentProps } from '@alicloud/ros-cdk-slb'
const backendServerAttachmentProps: BackendServerAttachmentProps = { ... }

Properties

Name Type Description
loadBalancerId string | @alicloud/ros-cdk-core.IResolvable Property loadBalancerId: The id of load balancer.
backendServerList @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.
backendServers @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | BackendServersProperty[] Property backendServers: The list of ECS instance, which will attached to load balancer.
backendServerWeightList any[] | @alicloud/ros-cdk-core.IResolvable Property backendServerWeightList: The comma delimited weight list.

loadBalancerIdRequired

public readonly loadBalancerId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property loadBalancerId: The id of load balancer.


backendServerListOptional

public readonly backendServerList: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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


backendServersOptional

public readonly backendServers: IResolvable | IResolvable | BackendServersProperty[];

Property backendServers: The list of ECS instance, which will attached to load balancer.


backendServerWeightListOptional

public readonly backendServerWeightList: any[] | IResolvable;
  • Type: any[] | @alicloud/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.