CreateApplication - AWS Elastic Beanstalk


Creates an application that has one configuration template named default and no application versions.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The name of the application. Must be unique within your account.

Type: String

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

Required: Yes


Your description of the application.

Type: String

Length Constraints: Maximum length of 200.

Required: No


Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.

Type: ApplicationResourceLifecycleConfig object

Required: No


Specifies the tags applied to the application.

Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.

Type: Array of Tag objects

Required: No

Response Elements

The following element is returned by the service.


The ApplicationDescription of the application.

Type: ApplicationDescription object


For information about the errors that are common to all actions, see Common Errors.


The specified account has reached its limit of applications.

HTTP Status Code: 400



This example illustrates one usage of CreateApplication.

Sample Request &Description=Sample%20Description &Operation=CreateApplication &AuthParams

Sample Response

<CreateApplicationResponse xmlns=""> <CreateApplicationResult> <Application> <Versions/> <Description>Sample Description</Description> <ApplicationName>SampleApp</ApplicationName> <DateCreated>2010-11-16T23:09:20.256Z</DateCreated> <DateUpdated>2010-11-16T23:09:20.256Z</DateUpdated> <ConfigurationTemplates> <member>Default</member> </ConfigurationTemplates> </Application> </CreateApplicationResult> <ResponseMetadata> <RequestId>8b00e053-f1d6-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </CreateApplicationResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: