| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Creates an AWS Elastic Beanstalk application.
{
"Type" : "AWS::ElasticBeanstalk::Application",
"Properties" : {
"ApplicationVersions" : [ ApplicationVersion, ... ],
"ConfigurationTemplates" : [ ConfigurationTemplate, ... ]
"Description" : String,
}
} Application versions associated with this application. An application version is a specific, labeled iteration of deployable code.
Required: Yes.
Type: A list of ApplicationVersions.
Configuration templates associated with this application. You can use templates to deploy different versions of an application using the configuration settings defined in the template.
Required: No.
Type: A list of ConfigurationTemplates.
An optional description of this application.
Required: No.
Type: String.
When the logical ID of this resource is provided to the Ref intrinsic
function, it returns the resource name.
For more information about using the Ref function, see Ref.
{
"Type" : "AWS::ElasticBeanstalk::Application",
"Properties" : {
"Description" : "AWS Elastic Beanstalk PHP Sample Application",
"ApplicationVersions" : [ {
"VersionLabel" : "Initial Version",
"Description" : "Version 1.0",
"SourceBundle" : {
"S3Bucket" : { "Fn::Join" :
["-", [ "elasticbeanstalk-samples", { "Ref" : "AWS::Region" } ] ] },
"S3Key" : "php-sample.zip"
}
} ],
"ConfigurationTemplates" : [ {
"TemplateName" : "DefaultConfiguration",
"Description" : "Default Configuration Version 1.0 - with SSH access",
"SolutionStackName" : "64bit Amazon Linux running PHP 5.3",
"OptionSettings" : [ {
"Namespace" : "aws:autoscaling:launchconfiguration",
"OptionName" : "EC2KeyName",
"Value" : { "Ref" : "KeyName" }
} ]
} ]
}
}