ScalingRuleProps
Properties for defining a ScalingRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalingrule
Initializer
import { datasource } from '@alicloud/ros-cdk-ess'
const scalingRuleProps: datasource.ScalingRuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
scalingRuleId |
string | @alicloud/ros-cdk-core.IResolvable |
Property scalingRuleId: The ID of the scaling rule that you want to query. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
scalingRuleId
Required
public readonly scalingRuleId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scalingRuleId: The ID of the scaling rule that you want to query.
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.