ScalingGroupEnableProps
Properties for defining a ScalingGroupEnable
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-scalinggroupenable
Initializer
import { ScalingGroupEnableProps } from '@alicloud/ros-cdk-ess'
const scalingGroupEnableProps: ScalingGroupEnableProps = { ... }
Properties
Name | Type | Description |
---|---|---|
scalingGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property scalingGroupId: The id of operated scaling group. |
attachOptions |
@alicloud/ros-cdk-core.IResolvable | AttachOptionsProperty |
Property attachOptions: Options for attaching instances. |
detachOptions |
@alicloud/ros-cdk-core.IResolvable | DetachOptionsProperty |
Property detachOptions: Options for detaching instances. |
instanceIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property instanceIds: The id list of ECS instance which will be attached. |
removeInstanceIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property removeInstanceIds: The id list of ECS instance which will be removed. |
scalingConfigurationId |
string | @alicloud/ros-cdk-core.IResolvable |
Property scalingConfigurationId: The id of scaling configuration which will be activate. |
scalingRuleAris |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property scalingRuleAris: A list of scaling rule aris which will be executed. |
scalingRuleArisExecuteVersion |
number | @alicloud/ros-cdk-core.IResolvable |
Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris. |
scalingGroupId
Required
public readonly scalingGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scalingGroupId: The id of operated scaling group.
attachOptions
Optional
public readonly attachOptions: IResolvable | AttachOptionsProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | AttachOptionsProperty
Property attachOptions: Options for attaching instances.
detachOptions
Optional
public readonly detachOptions: IResolvable | DetachOptionsProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | DetachOptionsProperty
Property detachOptions: Options for detaching instances.
instanceIds
Optional
public readonly instanceIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property instanceIds: The id list of ECS instance which will be attached.
Max support 1000 instances.
removeInstanceIds
Optional
public readonly removeInstanceIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property removeInstanceIds: The id list of ECS instance which will be removed.
Max support 1000 instances.
scalingConfigurationId
Optional
public readonly scalingConfigurationId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scalingConfigurationId: The id of scaling configuration which will be activate.
scalingRuleAris
Optional
public readonly scalingRuleAris: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property scalingRuleAris: A list of scaling rule aris which will be executed.
Max support 10 scaling rule aris. When creating the resource, all the scaling rule aris in the list will be executed. When updating the resource, none of scaling rule aris in the list will be executed, unless ScalingRuleArisExecuteVersion is changed.
scalingRuleArisExecuteVersion
Optional
public readonly scalingRuleArisExecuteVersion: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris.