Container for the parameters to the TerminateEnvironment operation.

Terminates the specified environment.

Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class TerminateEnvironmentRequest : AmazonWebServiceRequest
Public Class TerminateEnvironmentRequest _
	Inherits AmazonWebServiceRequest
public ref class TerminateEnvironmentRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
TerminateEnvironmentRequest()()()()
Initializes a new instance of the TerminateEnvironmentRequest class
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 MissingRequiredParameter error.
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 MissingRequiredParameter error.

Constraints:

Length
4 - 23

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
Indicates whether the associated AWS resources should shut down when the environment is terminated:

Field Value

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

Field Value

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.
  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • 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: true Valid Values: true | false
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithEnvironmentId(String)
Sets the EnvironmentId property
WithEnvironmentName(String)
Sets the EnvironmentName property
WithTerminateResources(Boolean)
Sets the TerminateResources property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.ElasticBeanstalk.Model..::..TerminateEnvironmentRequest

See Also