AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

ElasticBeanstalk ConfigurationTemplate Property Type

ConfigurationTemplate is an embedded property of the AWS::ElasticBeanstalk::Application type, which contains an array of these objects in its ConfigurationTemplates property.

Syntax

{
   "TemplateName" : String,
   "Description" : String,
   "OptionSettings" : [ OptionSetting, ... ],
   "SolutionStackName" : String
}     

Members

TemplateName

The name of the configuration template.

Type: String.

Required: Yes.

Description

An optional description for this configuration.

Type: String.

Required: No.

OptionSettings

A list of OptionSettings for this Elastic Beanstalk configuration. For a complete list of Elastic Beanstalk configuration options, see Option Values, in the AWS Elastic Beanstalk Developer Guide.

Type: A list of OptionSettings.

Required: No.

SolutionStackName

The name of an existing Elastic Beanstalk solution stack used by this configuration. A solution stack specifies the operating system, architecture, and application server for a configuration template. It also defines configuration options, their possible and default values. If SolutionStackName is not specified, the default Elastic Beanstalk solution stack will be used.

Type: String.

Required: No.

Example

This example of an ElasticBeanstalk ConfigurationTemplate is found in the AWS CloudFormation sample template ElasticBeanstalkSample.template, which also provides an example of its use within an AWS::ElasticBeanstalk::Application.

{
   "TemplateName" : "DefaultConfiguration",
   "Description" : "Default Configuration Version 1.0 - with SSH access",
   "OptionSettings" : [ {
      "Namespace" : "aws:autoscaling:launchconfiguration",
      "OptionName" : "EC2KeyName",
      "Value" : { "Ref" : "KeyName" }
   } ]
}     

See Also