Skip to content

ScalingConfigurationsProps

Properties for defining a ScalingConfigurations.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-ess'
const scalingConfigurationsProps: datasource.ScalingConfigurationsProps = { ... }

Properties

Name Type Description
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
scalingConfigurationIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property scalingConfigurationIds: The ID of scaling configuration that you want to query.
scalingConfigurationNames @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property scalingConfigurationNames: The name of scaling configuration that you want to query.
scalingGroupId string | @alicloud/ros-cdk-core.IResolvable Property scalingGroupId: The ID of the scaling group.

refreshOptionsOptional

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.


scalingConfigurationIdsOptional

public readonly scalingConfigurationIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/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.


scalingConfigurationNamesOptional

public readonly scalingConfigurationNames: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/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.


scalingGroupIdOptional

public readonly scalingGroupId: string | IResolvable;
  • Type: string | @alicloud/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.