{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-elastic-beanstalk/json-schema/aws-elastic-beanstalk-environment-description-schema.json",
  "title": "EnvironmentDescription",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-elastic-beanstalk-amazon-elastic-beanstalk-aws-elastic-beanstalk-create-api-openapi.yml#/components/schemas/EnvironmentDescription",
  "type": "object",
  "properties": {
    "EnvironmentName": {
      "type": "string",
      "description": "The name of this environment."
    },
    "EnvironmentId": {
      "type": "string",
      "description": "The ID of this environment."
    },
    "ApplicationName": {
      "type": "string",
      "description": "The name of the application associated with this environment."
    },
    "VersionLabel": {
      "type": "string",
      "description": "The application version deployed in this environment."
    },
    "SolutionStackName": {
      "type": "string",
      "description": "The name of the SolutionStack deployed with this environment."
    },
    "PlatformArn": {
      "type": "string",
      "description": "The ARN of the platform version."
    },
    "TemplateName": {
      "type": "string",
      "description": "The name of the configuration template used to originally launch this environment."
    },
    "Description": {
      "type": "string",
      "description": "Describes this environment."
    },
    "EndpointURL": {
      "type": "string",
      "description": "For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance."
    },
    "CNAME": {
      "type": "string",
      "description": "The URL to the CNAME for this environment."
    },
    "DateCreated": {
      "type": "string",
      "format": "date-time",
      "description": "The creation date for this environment."
    },
    "DateUpdated": {
      "type": "string",
      "format": "date-time",
      "description": "The last modified date for this environment."
    },
    "Status": {
      "type": "string",
      "enum": [
        "Aborting",
        "Launching",
        "Updating",
        "LinkingFrom",
        "LinkingTo",
        "Ready",
        "Terminating",
        "Terminated"
      ],
      "description": "The current operational status of the environment: Aborting: Environment is in the process of aborting a deployment. Launching: Environment is in the process of initial deployment. LinkingFrom: Environment is in the process of being linked to by another environment. See Environment links for details. LinkingTo: Environment is in the process of linking to another environment. See Environment links for details. Updating: Environment is in the process of updating its configuration settings or application version. Ready: Environment is available to have an action performed on it, such as update or"
    },
    "AbortableOperationInProgress": {
      "type": "boolean",
      "description": "Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel. true: There is an update in progress. false: There are no updates currently in progress."
    },
    "Health": {
      "type": "string",
      "enum": [
        "Green",
        "Yellow",
        "Red",
        "Grey"
      ],
      "description": "Describes the health status of the environment. Elastic Beanstalk indicates the failure levels for a running environment: Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. Green: Indicates the environment is healthy and fully functional. Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or Rest"
    },
    "HealthStatus": {
      "type": "string",
      "enum": [
        "NoData",
        "Unknown",
        "Pending",
        "Ok",
        "Info",
        "Warning",
        "Degraded",
        "Severe",
        "Suspended"
      ],
      "description": "Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses."
    },
    "Resources": {
      "$ref": "#/$defs/EnvironmentResourcesDescription"
    },
    "Tier": {
      "$ref": "#/$defs/EnvironmentTier"
    },
    "EnvironmentLinks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvironmentLink"
      },
      "description": "A list of links to other environments in the same group."
    },
    "EnvironmentArn": {
      "type": "string",
      "description": "The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN."
    },
    "OperationsRole": {
      "type": "string",
      "description": "The operations role feature of Elastic Beanstalk is in beta release and is subject to change. The Amazon Resource Name (ARN) of the environment's operations role."
    }
  },
  "$defs": {
    "EnvironmentLink": {
      "type": "object",
      "properties": {
        "LinkName": {
          "type": "string",
          "description": "The name of the link."
        },
        "EnvironmentName": {
          "type": "string",
          "description": "The name of the linked environment (the dependency)."
        }
      }
    },
    "EnvironmentResourcesDescription": {
      "type": "object",
      "properties": {
        "LoadBalancer": {
          "$ref": "#/$defs/LoadBalancerDescription"
        }
      }
    },
    "EnvironmentTier": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of this environment tier. Valid values: For Standard-mode EC2-based web server – WebServer For Standard-mode EC2-based backend application with Amazon SQS – Worker For Cluster-mode Amazon EKS-based applications – Cluster"
        },
        "Type": {
          "type": "string",
          "description": "The type of this environment tier. Valid values: For Web server tier – Standard For Worker tier – SQS/HTTP For Cluster tier – EKS"
        },
        "Version": {
          "type": "string",
          "description": "The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version. This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified."
        }
      }
    },
    "Listener": {
      "type": "object",
      "properties": {
        "Protocol": {
          "type": "string",
          "description": "The protocol that is used by the Listener."
        },
        "Port": {
          "type": "integer",
          "description": "The port that is used by the Listener."
        }
      }
    },
    "LoadBalancerDescription": {
      "type": "object",
      "properties": {
        "LoadBalancerName": {
          "type": "string",
          "description": "The name of the LoadBalancer."
        },
        "Domain": {
          "type": "string",
          "description": "The domain name of the LoadBalancer."
        },
        "Listeners": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Listener"
          },
          "description": "A list of Listeners used by the LoadBalancer."
        }
      }
    }
  }
}