Skip to content

ServerGroupAttachmentProps

Properties for defining a ServerGroupAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-servergroupattachment

Initializer

import { ServerGroupAttachmentProps } from '@alicloud/ros-cdk-ess'
const serverGroupAttachmentProps: ServerGroupAttachmentProps = { ... }

Properties

Name Type Description
scalingGroupId string | @alicloud/ros-cdk-core.IResolvable Property scalingGroupId: The ID of the scaling group.
serverGroups @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServerGroupsProperty[] Property serverGroups: A collection of information about server groups.
forceAttach boolean | @alicloud/ros-cdk-core.IResolvable Property forceAttach: Specifies whether to add the Elastic Compute Service (ECS) instances in the scaling group to the backend server group of the newly attached SLB instance.

scalingGroupIdRequired

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

Property scalingGroupId: The ID of the scaling group.


serverGroupsRequired

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

Property serverGroups: A collection of information about server groups.


forceAttachOptional

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

Property forceAttach: Specifies whether to add the Elastic Compute Service (ECS) instances in the scaling group to the backend server group of the newly attached SLB instance.

Valid values: true false Default value: false.