TerminateEnvironmentMessage
¶
Source code in docs_src/capo_elastic_beanstalk/types/terminate_environment_message.py
environment_id
instance-attribute
¶
environment_id: NotRequired[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, Elastic Beanstalk returns MissingRequiredParameter error.
environment_name
instance-attribute
¶
environment_name: NotRequired[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, Elastic Beanstalk returns MissingRequiredParameter error.
force_terminate
instance-attribute
¶
force_terminate: NotRequired[ForceTerminate]
Terminates the target environment even if another environment in the same group is dependent on it.
terminate_resources
instance-attribute
¶
terminate_resources: NotRequired[TerminateEnvironmentResources]
Indicates whether the associated Amazon Web Services resources should shut down when the environment is terminated:
-
true: The specified environment as well as the associated Amazon Web Services resources, such as Auto Scaling group and LoadBalancer, are terminated. -
false: Elastic Beanstalk resource management is removed from the environment, but the Amazon Web Services resources continue to operate.
For more information, see the Elastic Beanstalk User Guide.
Default: true
Valid Values: true | false