euscale-execute-policy

Executes the specified scaling policy.

Syntax

euscale-execute-policy
PolicyID
-g, --auto-scaling-group-name value
[-h, --honor-cooldown / -H, --no-honor-cooldown ]

Options

Option Description Required
PolicyID The ID of the policy to execute. Yes
-g, --auto-scaling-group-name The name or ARN of the auto scaling group. Yes
-h, --honor-cooldown Reject this request if the specified group is in cooldown. No
-H, --no-honor-cooldown Override the specified group's cooldown period. This is the default behavior. No

Common Options

Option Description
--show-empty-fields Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default.
--region value Specify region value as the cloud region to use. You can set this by using the environment variable AWS_DEFAULT_REGION.
-U,--url value Overrides the URL for the service call with the value entered. You can set this by using the environment variable AWS_AUTOSCALING_URL.
-I, --access-key-id value User's access key ID
-S, --secret-key value User's AWS secret Key to use.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
--version Display the version of this tool.
-h,--help Display the manual page for the command.

Output

This command returns no output.

Examples

The follow example executes a scaling policy named MyScaleinPolicy in the scaling group MyScalingGroup.

euscale-execute-policy MyScaleinPolicy -g MyScalingGroup -H 

This command has no output.

x