{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-elasticbeanstalk-environment.json",
  "title": "AWSElasticBeanstalkEnvironmentProperties",
  "description": "Resource Type definition for AWS::ElasticBeanstalk::Environment. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-elasticbeanstalk-environment.json",
    "sourceSha256": "190fca45fe3a0ccbf77ddda00162940473f6f75e824f56798f4a162bdd1bab87"
  },
  "type": "object",
  "properties": {
    "PlatformArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the custom platform to use with the environment."
    },
    "ApplicationName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the application that is associated with this environment."
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Your description for this environment."
    },
    "EnvironmentName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A unique name for the environment."
    },
    "OperationsRole": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role."
    },
    "Tier": {
      "description": "Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.",
      "$ref": "#/$defs/Tier"
    },
    "VersionLabel": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the application version to deploy."
    },
    "OptionSettings": {
      "uniqueItems": false,
      "description": "Key-value pairs defining configuration options for this environment, such as the instance type.",
      "insertionOrder": false,
      "type": "array",
      "items": {
        "$ref": "#/$defs/OptionSetting"
      }
    },
    "TemplateName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the Elastic Beanstalk configuration template to use with the environment."
    },
    "SolutionStackName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of an Elastic Beanstalk solution stack (platform version) to use with the environment."
    },
    "CNAMEPrefix": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name."
    },
    "Tags": {
      "uniqueItems": false,
      "description": "Specifies the tags applied to resources in the environment.",
      "insertionOrder": false,
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "tagProperty": "/properties/Tags",
    "cloudFormationSystemTags": false
  },
  "$defs": {
    "Tier": {
      "title": "AWSElasticBeanstalkEnvironmentTierDefinition",
      "type": "object",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The type of this environment tier."
        },
        "Version": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "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."
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of this environment tier."
        }
      },
      "additionalProperties": false
    },
    "OptionSetting": {
      "title": "AWSElasticBeanstalkEnvironmentOptionSettingDefinition",
      "type": "object",
      "properties": {
        "ResourceName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A unique resource name for the option setting. Use it for a time–based scaling configuration option."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The current value for the configuration option."
        },
        "Namespace": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A unique namespace that identifies the option's associated AWS resource."
        },
        "OptionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the configuration option."
        }
      },
      "required": [
        "Namespace",
        "OptionName"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "title": "AWSElasticBeanstalkEnvironmentTagDefinition",
      "type": "object",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag."
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag."
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "typeName": "AWS::ElasticBeanstalk::Environment",
  "readOnlyProperties": [
    "/properties/EndpointURL"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/CNAMEPrefix",
    "/properties/EnvironmentName",
    "/properties/ApplicationName",
    "/properties/SolutionStackName",
    "/properties/Tier/Name",
    "/properties/Tier/Type"
  ],
  "primaryIdentifier": [
    "/properties/EnvironmentName"
  ],
  "required": [
    "ApplicationName"
  ],
  "writeOnlyProperties": [
    "/properties/TemplateName",
    "/properties/OptionSettings",
    "/properties/OptionSettings/*/OptionName",
    "/properties/OptionSettings/*/ResourceName",
    "/properties/OptionSettings/*/Namespace",
    "/properties/OptionSettings/*/Value"
  ]
}
