ScalingGroupsProps
Properties for defining a ScalingGroups
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalinggroups
Initializer
import { datasource } from '@alicloud/ros-cdk-ess'
const scalingGroupsProps: datasource.ScalingGroupsProps = { ... }
Properties
Name | Type | Description |
---|---|---|
groupType |
string | @alicloud/ros-cdk-core.IResolvable |
Property groupType: The type of instances that are managed by the scaling group. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
scalingGroupIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property scalingGroupIds: The ID of scaling group that you want to query.Valid values: 1 to 20. The IDs of inactive scaling groups are not displayed in the query results, and no error is reported. |
scalingGroupNames |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property scalingGroupNames: The name of scaling group that you want to query. |
groupType
Optional
public readonly groupType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupType: The type of instances that are managed by the scaling group.
Valid values: ECS: the Elastic Compute Service (ECS) instances ECI: the elastic container instances Default value: ECS.
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.
scalingGroupIds
Optional
public readonly scalingGroupIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property scalingGroupIds: The ID of scaling group that you want to query.Valid values: 1 to 20. The IDs of inactive scaling groups are not displayed in the query results, and no error is reported.
scalingGroupNames
Optional
public readonly scalingGroupNames: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property scalingGroupNames: The name of scaling group that you want to query.
Valid values: 1 to 20. The names of inactive scaling groups are not displayed in the query results, and no error is reported.