{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-create-environment-request-schema.json",
  "title": "CreateEnvironmentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-environments-api-openapi.yml#/components/schemas/CreateEnvironmentRequest",
  "type": "object",
  "properties": {
    "ApplicationId": {
      "type": "string",
      "description": "The application ID."
    },
    "Name": {
      "type": "string",
      "description": "A name for the environment."
    },
    "Description": {
      "type": "string",
      "description": "A description of the environment."
    },
    "Monitors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Monitor"
      },
      "description": "Amazon CloudWatch alarms to monitor during the deployment process."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define."
    }
  },
  "required": [
    "ApplicationId",
    "Name"
  ],
  "$defs": {
    "Monitor": {
      "type": "object",
      "properties": {
        "AlarmArn": {
          "type": "string",
          "description": "Amazon Resource Name (ARN) of the Amazon CloudWatch alarm."
        },
        "AlarmRoleArn": {
          "type": "string",
          "description": "ARN of an Identity and Access Management (IAM) role for AppConfig to monitor AlarmArn."
        }
      },
      "required": [
        "AlarmArn"
      ]
    }
  }
}