AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticBeanstalk.AmazonElasticBeanstalkRequest
      Amazon.ElasticBeanstalk.Model.DeleteEnvironmentConfigurationRequest

Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteEnvironmentConfigurationRequest : AmazonElasticBeanstalkRequest
         IAmazonWebServiceRequest

The DeleteEnvironmentConfigurationRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteEnvironmentConfigurationRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DeleteEnvironmentConfigurationRequest(string, string)

Instantiates DeleteEnvironmentConfigurationRequest with the parameterized properties

Properties

NameTypeDescription
Public Property ApplicationName System.String

Gets and sets the property ApplicationName.

The name of the application the environment is associated with.

Public Property EnvironmentName System.String

Gets and sets the property EnvironmentName.

The name of the environment to delete the draft configuration from.

Examples

The following operation deletes a draft configuration for an environment named my-env:

To delete a draft configuration


var client = new AmazonElasticBeanstalkClient();
var response = client.DeleteEnvironmentConfiguration(new DeleteEnvironmentConfigurationRequest 
{
    ApplicationName = "my-app",
    EnvironmentName = "my-env"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5