Home
last modified time | relevance | path

Searched refs:scaling_policy (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/autoscale/
D__init__.py302 def create_scaling_policy(self, scaling_policy): argument
309 params = {'AdjustmentType': scaling_policy.adjustment_type,
310 'AutoScalingGroupName': scaling_policy.as_name,
311 'PolicyName': scaling_policy.name,
312 'ScalingAdjustment': scaling_policy.scaling_adjustment}
314 if scaling_policy.adjustment_type == "PercentChangeInCapacity" and \
315 scaling_policy.min_adjustment_step is not None:
316 params['MinAdjustmentStep'] = scaling_policy.min_adjustment_step
318 if scaling_policy.cooldown is not None:
319 params['Cooldown'] = scaling_policy.cooldown