{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-elastic-beanstalk/json-schema/aws-elastic-beanstalk-terminate-environment-message-schema.json",
  "title": "TerminateEnvironmentMessage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-elastic-beanstalk-operations-api-openapi.yml#/components/schemas/TerminateEnvironmentMessage",
  "type": "object",
  "properties": {
    "EnvironmentId": {
      "type": "string",
      "description": "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."
    },
    "EnvironmentName": {
      "type": "string",
      "description": "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."
    },
    "TerminateResources": {
      "type": "boolean",
      "description": "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"
    },
    "ForceTerminate": {
      "type": "boolean",
      "description": "Terminates the target environment even if another environment in the same group is dependent on it."
    }
  }
}