| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Creates or updates an AWS Elastic Beanstalk environment.
{
"Type" : "AWS::ElasticBeanstalk::Environment",
"Properties" : {
"ApplicationName" : String,
"CNAMEPrefix" : String,
"Description" : String,
"OptionSettings" : [ OptionSettings, ... ],
"OptionsToRemove" : [ OptionSettings, ... ],
"SolutionStackName" : String,
"TemplateName" : String,
"VersionLabel" : String
}
}
The name of the application associated with this environment.
Required: Yes.
Type: String.
The URL to the CNAME for this environment.
Required: No.
Type: String.
Required: No.
Type: String.
The option settings to add.
Required: No.
Type: A list of OptionSettings.
The option settings to remove.
Required: No.
Type: A list of OptionSettings.
The stack name associated with the environment.
Required: No.
Type: String.
The name of the template to use with the environment.
Required: No.
Type: String.
The version to associate with the environment.
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.
Fn::GetAtt returns a value for a specified attribute of this type.
This section lists the available attributes and corresponding return values.
The URL to the load balancer for this environment.
Example:
awseb-myst-myen-132MQC4KRLAMD-1371280482.us-east-1.elb.amazonaws.com
For more information about using Fn:GetAtt, see Fn::GetAtt.
{
"Type" : "AWS::ElasticBeanstalk::Environment",
"Properties" : {
"ApplicationName" : { "Ref" : "sampleApplication" },
"Description" : "AWS Elastic Beanstalk Environment running PHP Sample Application",
"TemplateName" : "DefaultConfiguration",
"VersionLabel" : "Initial Version"
}
}
{
"Type" : "AWS::ElasticBeanstalk::Environment",
"Properties" : {
"ApplicationName" : { "Ref" : "sampleApplication" },
"Description" : "AWS Elastic Beanstalk Environment running Python Sample Application",
"SolutionStackName" : "64bit Amazon Linux running Python",
"OptionSettings" : [ {
"Namespace" : "aws:autoscaling:launchconfiguration",
"OptionName" : "EC2KeyName",
"Value" : { "Ref" : "KeyName" }
} ],
"VersionLabel" : "Initial Version"
}
} Launching New Environments in the AWS Elastic Beanstalk Developer Guide
Managing Environments in the AWS Elastic Beanstalk Developer Guide