AWS::ElasticBeanstalk::Application - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::ElasticBeanstalk::Application

The AWS::ElasticBeanstalk::Application resource is an Amazon Elastic Beanstalk Beanstalk resource type that specifies an Elastic Beanstalk application.

Syntax

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

JSON

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

YAML

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, Amazon 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

Minimum: 1

Maximum: 100

Update requires: Replacement

Description

Your description of the application.

Required: No

Type: String

Maximum: 200

Update requires: No interruption

ResourceLifecycleConfig

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

Required: No

Type: ApplicationResourceLifecycleConfig

Update requires: No 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.

Examples

JSON

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

YAML

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

See also