AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Attempting to update both the release and configuration is not allowed and AWS Elastic
Beanstalk returns an InvalidParameterCombination
error.
When updating the configuration settings to a new template or individual settings,
a draft configuration is created and DescribeConfigurationSettings for this
environment returns two setting descriptions with different DeploymentStatus
values.
Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class UpdateEnvironmentRequest : AmazonElasticBeanstalkRequest IRequestEvents
The UpdateEnvironmentRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateEnvironmentRequest() | Empty constructor used to set properties independently even when a simple constructor is available |
Name | Type | Description | |
---|---|---|---|
ApplicationName | System.String |
Gets and sets the property ApplicationName.
The name of the application with which the environment is associated. |
|
Description | System.String |
Gets and sets the property Description.
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment. |
|
EnvironmentId | System.String |
Gets and sets the property EnvironmentId.
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
Condition: You must specify either this or an EnvironmentName, or both. If you do
not specify either, AWS Elastic Beanstalk returns |
|
EnvironmentName | System.String |
Gets and sets the property EnvironmentName.
The name of the environment to update. If no environment with this name exists, AWS
Elastic Beanstalk returns an
Condition: You must specify either this or an EnvironmentId, or both. If you do not
specify either, AWS Elastic Beanstalk returns |
|
GroupName | System.String |
Gets and sets the property GroupName.
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name or environment ID parameters. See Environment Manifest (env.yaml) for details. |
|
OptionSettings | System.Collections.Generic.List<Amazon.ElasticBeanstalk.Model.ConfigurationOptionSetting> |
Gets and sets the property OptionSettings.
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value. |
|
OptionsToRemove | System.Collections.Generic.List<Amazon.ElasticBeanstalk.Model.OptionSpecification> |
Gets and sets the property OptionsToRemove.
A list of custom user-defined configuration options to remove from the configuration set for this environment. |
|
SolutionStackName | System.String |
Gets and sets the property SolutionStackName.
This specifies the platform version that the environment will run after the environment is updated. |
|
TemplateName | System.String |
Gets and sets the property TemplateName.
If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template
to the environment. If no such configuration template is found, AWS Elastic Beanstalk
returns an |
|
Tier | Amazon.ElasticBeanstalk.Model.EnvironmentTier |
Gets and sets the property Tier.
This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type, AWS Elastic
Beanstalk returns |
|
VersionLabel | System.String |
Gets and sets the property VersionLabel.
If this parameter is specified, AWS Elastic Beanstalk deploys the named application
version to the environment. If no such application version is found, returns an |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1