Description
Monitors the latest prices and discounts of subscription Elastic Compute Service (ECS) instances that are created for a scaling group and sends an alert notification if the specified threshold is reached.
Syntax
Action: ACS::ECS::AlarmSpotPriceOrDiscountBySingleScalingGroup
Properties:
regionId: String
threshold: Number
taskType: String
scalingGroupId: StringAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | Yes | ||
threshold | The discount threshold. For example, 10 indicates 90% off and 50 indicates 50% off. | Number | Yes | ||
taskType | The type of the threshold monitoring task. | String | Yes | ||
scalingGroupId | The scaling group ID. | String | Yes |
Output
Output item | Description | Type |
singleMonitorInfo | String |
References
For more information, see ACS::ECS::AlarmSpotPriceOrDiscountBySingleScalingGroup.yml at GitHub.