LoadBalancerAttachmentProps
Properties for defining a LoadBalancerAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-loadbalancerattachment
Initializer
import { LoadBalancerAttachmentProps } from '@alicloud/ros-cdk-ess'
const loadBalancerAttachmentProps: LoadBalancerAttachmentProps = { ... }
Properties
Name | Type | Description |
---|---|---|
scalingGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property scalingGroupId: The ID of the scaling group. |
forceAttach |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property forceAttach: Specifies whether to add all instances in the current scaling group to the backend server groups of the attached CLB instance. |
loadBalancerConfigs |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LoadBalancerConfigsProperty[] |
Property loadBalancerConfigs: Load balancer configuration list. |
loadBalancers |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group. |
scalingGroupId
Required
public readonly scalingGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scalingGroupId: The ID of the scaling group.
forceAttach
Optional
public readonly forceAttach: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property forceAttach: Specifies whether to add all instances in the current scaling group to the backend server groups of the attached CLB instance.
Valid values: true false Default value: false.
loadBalancerConfigs
Optional
public readonly loadBalancerConfigs: IResolvable | IResolvable | LoadBalancerConfigsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LoadBalancerConfigsProperty[]
Property loadBalancerConfigs: Load balancer configuration list.
loadBalancers
Optional
public readonly loadBalancers: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group.
Valid values of N: 1 to 5.