{
 "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json",
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/CNAMEPrefix",
  "/properties/EnvironmentName",
  "/properties/ApplicationName",
  "/properties/SolutionStackName",
  "/properties/Tier/Name",
  "/properties/Tier/Type"
 ],
 "definitions": {
  "OptionSetting": {
   "additionalProperties": false,
   "properties": {
    "Namespace": {
     "type": "string"
    },
    "OptionName": {
     "type": "string"
    },
    "ResourceName": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Namespace",
    "OptionName"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  },
  "Tier": {
   "additionalProperties": false,
   "properties": {
    "Name": {
     "type": "string"
    },
    "Type": {
     "type": "string"
    },
    "Version": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/EnvironmentName"
 ],
 "properties": {
  "ApplicationName": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "CNAMEPrefix": {
   "maxLength": 63,
   "minLength": 4,
   "type": "string"
  },
  "Description": {
   "maxLength": 200,
   "minLength": 0,
   "type": "string"
  },
  "EndpointURL": {
   "type": "string"
  },
  "EnvironmentName": {
   "maxLength": 40,
   "minLength": 4,
   "type": "string"
  },
  "OperationsRole": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "OptionSettings": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/OptionSetting"
   },
   "type": "array",
   "uniqueItems": false
  },
  "PlatformArn": {
   "type": "string"
  },
  "SolutionStackName": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "TemplateName": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "Tier": {
   "$ref": "#/definitions/Tier"
  },
  "VersionLabel": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/EndpointURL"
 ],
 "required": [
  "ApplicationName"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ElasticBeanstalk::Environment",
 "writeOnlyProperties": [
  "/properties/TemplateName",
  "/properties/OptionSettings",
  "/properties/OptionSettings/*/OptionName",
  "/properties/OptionSettings/*/ResourceName",
  "/properties/OptionSettings/*/Namespace",
  "/properties/OptionSettings/*/Value"
 ]
}
