{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Type",
  "/properties/Name"
 ],
 "definitions": {
  "LifecyclePolicyType": {
   "enum": [
    "retention"
   ],
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/Type",
  "/properties/Name"
 ],
 "properties": {
  "Description": {
   "maxLength": 1000,
   "minLength": 0,
   "type": "string"
  },
  "Name": {
   "maxLength": 32,
   "minLength": 3,
   "pattern": "^[a-z][a-z0-9-]+$",
   "type": "string"
  },
  "Policy": {
   "maxLength": 20480,
   "minLength": 1,
   "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+",
   "type": "string"
  },
  "Type": {
   "$ref": "#/definitions/LifecyclePolicyType"
  }
 },
 "required": [
  "Type",
  "Name",
  "Policy"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-opensearchserverless",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::OpenSearchServerless::LifecyclePolicy"
}
