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 AbortEnvironmentUpdate operation. Cancels in-progress environment configuration update or application version deployment.
Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public class AbortEnvironmentUpdateRequest : AmazonElasticBeanstalkRequest IAmazonWebServiceRequest
The AbortEnvironmentUpdateRequest type exposes the following members
Name | Description | |
---|---|---|
AbortEnvironmentUpdateRequest() |
Name | Type | Description | |
---|---|---|---|
EnvironmentId | System.String |
Gets and sets the property EnvironmentId. This specifies the ID of the environment with the in-progress update that you want to cancel. |
|
EnvironmentName | System.String |
Gets and sets the property EnvironmentName. This specifies the name of the environment with the in-progress update that you want to cancel. |
The following code aborts a running application version deployment for an environment named my-env:
var client = new AmazonElasticBeanstalkClient(); var response = client.AbortEnvironmentUpdate(new AbortEnvironmentUpdateRequest { 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