AWS SDK for .NET Documentation
TerminateEnvironmentRequest Class
AmazonAmazon.ElasticBeanstalk.ModelTerminateEnvironmentRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the TerminateEnvironment operation. Terminates the specified environment.
Declaration Syntax
C#
public class TerminateEnvironmentRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TerminateEnvironmentRequest()()()()
Initializes a new instance of the TerminateEnvironmentRequest class

EnvironmentId
Gets and sets the property EnvironmentId.

The ID of the environment to terminate.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns

CopyC#
MissingRequiredParameter
error.


EnvironmentName
Gets and sets the property EnvironmentName.

The name of the environment to terminate.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns

CopyC#
MissingRequiredParameter
error.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
TerminateResources
Gets and sets the property TerminateResources.

Indicates whether the associated AWS resources should shut down when the environment is terminated:

Value

CopyC#
true
: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

Value

CopyC#
false
: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • CopyC#
    true
    : The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • CopyC#
    false
    : AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default:

CopyC#
true

Valid Values:

CopyC#
true
|
CopyC#
false


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithEnvironmentId(String) Obsolete.
Sets the EnvironmentId property

WithEnvironmentName(String) Obsolete.
Sets the EnvironmentName property

WithTerminateResources(Boolean) Obsolete.
Sets the TerminateResources property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 TerminateEnvironmentRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)