AWS::ElasticBeanstalk::Application
The AWS::ElasticBeanstalk::Application resource is an AWS Elastic Beanstalk Beanstalk resource type that specifies an Elastic Beanstalk application.
Syntax
To declare this entity in your AWS 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, 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
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" : "AWS Elastic Beanstalk PHP Sample Application" } }
YAML
Type: AWS::ElasticBeanstalk::Application Properties: ApplicationName: "SampleAWSElasticBeanstalkApplication" Description: "AWS Elastic Beanstalk PHP Sample Application"
See also
-
For a complete Elastic Beanstalk sample template, see Elastic Beanstalk Template Snippets.