Skip to content

ScalingConfigurationsProps

Properties for defining a ScalingConfigurations.

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

Initializer

from ros_cdk_ess import datasource
datasource.ScalingConfigurationsProps(
  refresh_options: typing.Union[str, IResolvable] = None,
  scaling_configuration_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  scaling_configuration_names: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  scaling_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
scaling_configuration_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property scalingConfigurationIds: The ID of scaling configuration that you want to query.
scaling_configuration_names typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property scalingConfigurationNames: The name of scaling configuration that you want to query.
scaling_group_id typing.Union[str, ros_cdk_core.IResolvable] Property scalingGroupId: The ID of the scaling group.

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_configuration_idsOptional

scaling_configuration_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 scalingConfigurationIds: The ID of scaling configuration that you want to query.

Valid values : 1 to 10. The IDs of active and inactive scaling configurations are displayed in the query results, and can be differentiated by LifecycleState.


scaling_configuration_namesOptional

scaling_configuration_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 scalingConfigurationNames: The name of scaling configuration that you want to query.

Valid values : 1 to 10. The names of inactive scaling configurations are not displayed in the query results, and no error is reported.


scaling_group_idOptional

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

Property scalingGroupId: The ID of the scaling group.

You can use the ID to query all scaling configurations in the scaling group.