Use correct types for thresholds

Currently in this template parameters have type Number, but
CloudWatchAlarm has threshold type String. This fix change
Type parameters to String.

Change-Id: If7030063f8bae6b70648a07acb086c341a75373f
This commit is contained in:
Sergey Kraynev 2013-12-02 03:40:51 -05:00
parent a56124341d
commit 7a6a356dab

View File

@ -23,11 +23,11 @@ Parameters:
Default: '420'
ScaleUpThreshold:
Description: Memory percentage threshold to scale up on
Type: Number
Type: String
Default: '70'
ScaleDownThreshold:
Description: Memory percentage threshold to scale down on
Type: Number
Type: String
Default: '60'
ConsumeMemoryLimit:
Description: Memory percentage threshold to consume
@ -182,4 +182,4 @@ Resources:
# wait ConsumeStartSeconds then ramp up memory consumption
# until it is over ConsumeMemoryLimit%
# then exits ConsumeStopSeconds seconds after stack launch
/root/consume_memory > /root/consume_memory.log &
/root/consume_memory > /root/consume_memory.log &