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-delete-application

Description

Deletes the specified application along with all associated versions and configurations.

Note

You cannot delete an application that has a running environment.

Syntax

elastic-beanstalk-delete-application -a [name] -f

Options

NameDescriptionRequired

-a

--application-name name

The name of the application to delete.

Type: String

Default: None

Length Constraints: Minimum value of 1. Maximum value of 100.

Yes

-f

--force-terminate-env

Determines if all running environments should be deleted before deleting the application.

Type: Boolean

Valid Values: true | false

Default: false

No

Output

The command returns the string Application deleted.

Examples

Deleting an Application

This example shows how to delete an application.

PROMPT> elastic-beanstalk-delete-application -a MySampleApp