Skip to content

ServerGroupAttachmentProps

Properties for defining a ServerGroupAttachment.

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

Initializer

import ros_cdk_ess
ros_cdk_ess.ServerGroupAttachmentProps(
  scaling_group_id: typing.Union[str, IResolvable],
  server_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServerGroupsProperty]]],
  force_attach: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
scaling_group_id typing.Union[str, ros_cdk_core.IResolvable] Property scalingGroupId: The ID of the scaling group.
server_groups typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServerGroupsProperty]]] Property serverGroups: A collection of information about server groups.
force_attach typing.Union[bool, 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.

scaling_group_idRequired

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

Property scalingGroupId: The ID of the scaling group.


server_groupsRequired

server_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServerGroupsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServerGroupsProperty]]]

Property serverGroups: A collection of information about server groups.


force_attachOptional

force_attach: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, 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.