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.
Container for the parameters to the DeleteEnvironmentConfiguration operation. Deletes the draft configuration associated with the running environment.
Updating a running environment with any configuration changes creates a draft configuration
set. You can get the draft configuration using DescribeConfigurationSettings
while the update is in progress or if the update fails. The DeploymentStatus
for the draft configuration indicates whether the deployment is in process or has
failed. The draft configuration remains in existence until it is deleted with this
action.
Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public class DeleteEnvironmentConfigurationRequest : AmazonElasticBeanstalkRequest IAmazonWebServiceRequest
The DeleteEnvironmentConfigurationRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteEnvironmentConfigurationRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
|
DeleteEnvironmentConfigurationRequest(string, string) |
Instantiates DeleteEnvironmentConfigurationRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
ApplicationName | System.String |
Gets and sets the property ApplicationName. The name of the application the environment is associated with. |
|
EnvironmentName | System.String |
Gets and sets the property EnvironmentName. The name of the environment to delete the draft configuration from. |
The following operation deletes a draft configuration for an environment named my-env:
var client = new AmazonElasticBeanstalkClient(); var response = client.DeleteEnvironmentConfiguration(new DeleteEnvironmentConfigurationRequest { ApplicationName = "my-app", EnvironmentName = "my-env" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5