NAME
as-describe-auto-scaling-groups - Describes the specified Auto Scaling groups.SYNOPSIS
as-describe-auto-scaling-groups
[AutoScalingGroupNames [AutoScalingGroupNames ...] ] [ --max-records
value ] [General Options]
DESCRIPTION
Describes the specified Auto Scaling groups, if the groups exist.
ARGUMENTS
AutoScalingGroupNames
Names of Auto Scaling groups to be described. If no names are provided,
groups of the user up to the max records value will be described.
SPECIFIC OPTIONS
--max-records VALUE
Maximum number of Auto Scaling groups that will be described with each
call (default = 20, max = 50).
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
-C, --ec2-cert-file-path VALUE
Path to the file holding the X.509 certificate. This value can be set by
using the environment variable 'EC2_CERT'.
--connection-timeout VALUE
Connection timeout (in seconds). The default value is '30'.
--delimiter VALUE
The delimiter to use when displaying delimited (long) results.
-H, --headers
For displaying tabular or delimited results, it includes the column
headers. For displaying XML results, it returns the HTTP headers from the
service request, if applicable. This is off by default.
-I, --access-key-id VALUE
The AWS access ID to use.
-K, --ec2-private-key-file-path VALUE
Path to the file holding the X.509 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--region VALUE
Amazon EC2 region to use. This value can be set by using the environment
variable 'EC2_REGION'.
-S, --secret-key VALUE
The AWS Secret Key to use.
--show-empty-fields
Shows empty fields and rows, using a (nil) value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
The way in which the results are displayed: tabular, delimited (long),
XML or no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character, XML is the raw return from the service and quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable
'AWS_AUTO_SCALING_URL'.
INPUT EXAMPLES
Describes all of the user's groups if any exist.
$PROMPT> as-describe-auto-scaling-groups
Describes user's groups 'test-group-1' and 'test-group-2' if they exist.
$PROMPT> as-describe-auto-scaling-groups test-group-1 test-group-2
Describes more of user's groups 'test-group-1' and 'test-group-2'.
$PROMPT> as-describe-auto-scaling-groups test-group-1 test-group-2 --token token-1
OUTPUT
This command returns a table that contains the following:
* GROUP-NAME - Name of the Auto Scaling group.
* LAUNCH-CONFIG - Associated launch configuration.
* AVAILABILITY-ZONES - Availability zone(s) associated with the group.
* CREATED - Group created time. This column appears only in the --show-long
view.
* LOAD-BALANCERS - No description available for this column.
* HEALTH-CHECK - Type of health check for the group (long). This column
appears only in the --show-long view.
* MIN-SIZE - Minimum group size (long).
* MAX-SIZE - Maximum group size (long).
* DESIRED-CAPACITY - Current desired capacity of the group (long).
* DEFAULT-COOLDOWN - Default cooldown period of the group (long). This
column appears only in the --show-long view.
* GRACE-PERIOD - Grace period associated with health check (long). This
column appears only in the --show-long view.
* VPC-IDENTIFIER - The Amazon VPC into which your instances are launched
(long). This column appears only in the --show-long view.
* PLACEMENT-GROUP - Placement group into which your instances are launched
(long). This column appears only in the --show-long view.
* GROUP-ARN - ARN that references this Auto Scaling group (long). This
column appears only in the --show-long view.
* STATUS - Group status (long). This column appears only in the --show-long
view.
* INSTANCE-ID - ID of the instance.
* GROUP-NAME - Name of the Auto Scaling group.
* AVAILABILITY-ZONE - Availability zone associated with the instance.
* STATE - Instance state (Pending/InService/Terminating).
* STATUS - Health status of the instance (Healthy/Unhealthy).
* LAUNCH-CONFIG - Associated launch configuration.
* PROCESS-NAME - Name of the suspended process.
* REASON - Reason why the process was suspended.
* AUTO-SCALING-GROUP - Name of the Auto Scaling group.
* METRIC-NAME - Name of the collected group metric.
* GRANULARITY-NAME - Granularity at which the metric is collected.
* RESOURCE-ID - Resource name to which the tag belongs.
* RESOURCE-TYPE - Resource type for which the tag was created.
* KEY - Key of the tag.
* VALUE - Value of the tag.
* PROPAGATE-AT-LAUNCH - The flag that controls whether the group tag is
propagated to EC2 instances.
OUTPUT EXAMPLES
This is an example output for an Auto Scaling group.
SEE ALSO
http://docs.amazonwebservices.com/AutoScaling//DeveloperGuide/
http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/
1.0.61.0 api= | Auto Scaling command line tools |