euscale-describe-policies

Describes the specified (or all) policies.

Syntax

euscale-describe-policies
[PolicyName [PolicyName...] ]
[-g, --auto-scaling-group value ]

Options

Option Description Required
PolicyName,PolicyName... A list of one or more policies to describe. No
-g, --auto-scaling-group value Show only policies for the named auto scaling group. 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 a table that contains the name of the auto scaling group associated with the policy, the name of the policy, the change value, the type of change, and the ARN of the scaling policy.

Examples

euscale-describe-policies

The following shows sample output for this command.

SCALING-POLICY	MyScalingGroup	MyScaleinPolicy	-2	ChangeInCapacity
	arn:aws:autoscaling::706221218191:scalingPolicy:90356ab3-e795-4741-b058-a3499c8a6ee6
	:autoScalingGroupName/MyScalingGroup:policyName/MyScaleinPolicy
SCALING-POLICY	MyScalingGroup	MyScaleoutPolicy	30	PercentChangeInCapacity	
    arn:aws:autoscaling::706221218191:scalingPolicy:5d02981b-f440-4c8f-98f2-8a620dc2b787
    :autoScalingGroupName/MyScalingGroup:policyName/MyScaleoutPolicy
x