This is the command as-describe-launch-configs that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
as-describe-launch-configs - Describes the specified launch
configurations.
SYNOPSIS
as-describe-launch-configs
[LaunchConfigurationNames [LaunchConfigurationNames ...] ]
[--max-records value ] [General Options]
DESCRIPTION
Describes the specified launch configurations, if they exist.
ARGUMENTS
LaunchConfigurationNames
Optional list of launch-configurations to be described.
If this list is omitted, all launch configurations are
described.
The list of requested launch configurations
cannot
contain more than 50 items. If unknown launch
configurations are requested, they are ignored with no error.
SPECIFIC OPTIONS
--max-records VALUE
Maximum number of launch configurations 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
Describe all of the user's configurations, if any exist.
$PROMPT> as-describe-launch-configs
Describe more of the user's configurations.
$PROMPT> as-describe-launch-configs --token token-1
Describe user's launch configurations 'test-lc-1' and 'test-lc-2' if
they
exist.
$PROMPT2> as-describe-launch-configs test-lc-1 test-lc-2
OUTPUT
This command returns a table that contains the following:
* NAME - Name of the launch configuration (short).
* IMAGE-ID - Id of the associated Amazon Machine Image (AMI) (short).
* TYPE - Amazon EC2 instance type that will be launched (short).
* KEY - Amazon EC2 key pair (long). This column appears only in the
--show-long view.
* KERNEL-ID - Id of kernel associated with the AMI (long). This column
appears only in the --show-long view.
* RAMDISK-ID - No description available for this column. This column
appears
only in the --show-long view.
* DEVICE-MAP - Block device mapping specifications (long). This column
appears only in the --show-long view.
* SG - Security group associated with instances that are launched with
this
configuration (long). This column appears only in the --show-long
view.
* CREATED - Launch configuration created time (long). This column
appears
only in the --show-long view.
* MONIOTRING - No description available for this column. This column
appears
only in the --show-long view.
* LAUNCH-CONFIG-ARN - ARN that references this launch configuration
(long).
This column appears only in the --show-long view.
* SPOT-PRICE - The maximum hourly price for any Spot Instance launched
(short).
* IAM-INSTANCE-PROFILE - IAM Instance Identity Profile to use as the
Runas
User for the instances (short).
OUTPUT EXAMPLES
This is an example output of this command.
Use as-describe-launch-configs online using onworks.net services