AWS::ElasticBeanstalk::Application
Creates 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:StringDescription:StringResourceLifecycleConfig: 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: 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.
Example
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.
