AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

elastic-beanstalk-retrieve-environment-info

Description

Retrieves the compiled information from a RequestEnvironmentInfo request.

Syntax

elastic-beanstalk-retrieve-environment-info [-e [name] | -E [id]] -i [type]

Options

NameDescriptionRequired

-e

--environment-name name

The name of the data's environment. If no environments are found, AWS Elastic Beanstalk returns an InvalidParameterValue error.

Type: String

Default: None

Length Constraints: Minimum value of 4. Maximum value of 23.

Conditional

-E

--environment-id id

The ID of the data's environment.

The name of the data's environment. If no environments are found, AWS Elastic Beanstalk returns an InvalidParameterValue error.

Type: String

Default: None

Conditional

-i

--info-type type

The type of information to retrieve.

Type: String

Valid Values: tail

Default: None

Yes

Output

The command returns a table with the following information:

  • EC2InstanceId—The Amazon EC2 instance ID for this information.

  • InfoType—The type of information retrieved.

  • Message—The retrieved information.

  • SampleTimestamp—The time stamp when this information was retrieved.

Examples

Retrieving Environment Information

This example shows how to retrieve environment information.

PROMPT> elastic-beanstalk-retrieve-environment-info -e MySampleAppEnv -i tail