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 AbortEnvironmentUpdate operation. Cancels in-progress environment configuration update or application version deployment.

Inheritance Hierarchy

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

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

Syntax

C#
public class AbortEnvironmentUpdateRequest : AmazonElasticBeanstalkRequest
         IAmazonWebServiceRequest

The AbortEnvironmentUpdateRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Examples

The following code aborts a running application version deployment for an environment named my-env:

To abort a deployment


var client = new AmazonElasticBeanstalkClient();
var response = client.AbortEnvironmentUpdate(new AbortEnvironmentUpdateRequest 
{
    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