Skip to content

ScalingGroupsProps

Properties for defining a ScalingGroups.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalinggroups

Initializer

from ros_cdk_ess import datasource
datasource.ScalingGroupsProps(
  group_type: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  scaling_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  scaling_group_names: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
group_type typing.Union[str, ros_cdk_core.IResolvable] Property groupType: The type of instances that are managed by the scaling group.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
scaling_group_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.
scaling_group_names typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property scalingGroupNames: The name of scaling group that you want to query.

group_typeOptional

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


refresh_optionsOptional

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

scaling_group_idsOptional

scaling_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.


scaling_group_namesOptional

scaling_group_names: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.