{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ApplicationName"
 ],
 "definitions": {
  "ApplicationResourceLifecycleConfig": {
   "additionalProperties": false,
   "properties": {
    "ServiceRole": {
     "type": "string"
    },
    "VersionLifecycleConfig": {
     "$ref": "#/definitions/ApplicationVersionLifecycleConfig"
    }
   },
   "type": "object"
  },
  "ApplicationVersionLifecycleConfig": {
   "additionalProperties": false,
   "properties": {
    "MaxAgeRule": {
     "$ref": "#/definitions/MaxAgeRule"
    },
    "MaxCountRule": {
     "$ref": "#/definitions/MaxCountRule"
    }
   },
   "type": "object"
  },
  "MaxAgeRule": {
   "additionalProperties": false,
   "properties": {
    "DeleteSourceFromS3": {
     "type": "boolean"
    },
    "Enabled": {
     "type": "boolean"
    },
    "MaxAgeInDays": {
     "type": "integer"
    }
   },
   "type": "object"
  },
  "MaxCountRule": {
   "additionalProperties": false,
   "properties": {
    "DeleteSourceFromS3": {
     "type": "boolean"
    },
    "Enabled": {
     "type": "boolean"
    },
    "MaxCount": {
     "type": "integer"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ApplicationName"
 ],
 "properties": {
  "ApplicationName": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "Description": {
   "maxLength": 200,
   "type": "string"
  },
  "ResourceLifecycleConfig": {
   "$ref": "#/definitions/ApplicationResourceLifecycleConfig"
  }
 },
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-elasticbeanstalk.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::ElasticBeanstalk::Application"
}
