Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::ElasticBeanstalk::Application

Creates an Elastic Beanstalk application.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Type" : "AWS::ElasticBeanstalk::Application", "Properties" : { "ApplicationName" : String, "Description" : String, "ResourceLifecycleConfig" : ApplicationResourceLifecycleConfig } }

YAML

Copy
Type: "AWS::ElasticBeanstalk::Application" Properties: ApplicationName: String Description: String ResourceLifecycleConfig:      ApplicationResourceLifecycleConfig

Properties

ApplicationName

A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type.

Important

If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

Required: No

Type: String

Update requires: Replacement

Description

An optional description of this application.

Required: No

Type: String

Update requires: No interruption

ResourceLifecycleConfig

Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings.

Required: No

Type: Elastic Beanstalk Application ApplicationResourceLifecycleConfig

Update requiresNo interruption

Return Values

Ref

When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the resource name.

For more information about using the Ref function, see Ref.

Example

JSON

Copy
{ "Type" : "AWS::ElasticBeanstalk::Application", "Properties" : { "ApplicationName" : "SampleAWSElasticBeanstalkApplication", "Description" : "AWS Elastic Beanstalk PHP Sample Application" } }

YAML

Copy
Type: "AWS::ElasticBeanstalk::Application" Properties: ApplicationName: "SampleAWSElasticBeanstalkApplication" Description: "AWS Elastic Beanstalk PHP Sample Application"

See Also