{
 "additionalIdentifiers": [
  [
   "/properties/PolicyEngineId"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/EncryptionKeyArn"
 ],
 "definitions": {
  "PolicyEngineStatus": {
   "enum": [
    "CREATING",
    "ACTIVE",
    "UPDATING",
    "DELETING",
    "CREATE_FAILED",
    "UPDATE_FAILED",
    "DELETE_FAILED"
   ],
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/PolicyEngineArn"
 ],
 "properties": {
  "CreatedAt": {
   "format": "date-time",
   "type": "string"
  },
  "Description": {
   "maxLength": 4096,
   "minLength": 1,
   "type": "string"
  },
  "EncryptionKeyArn": {
   "maxLength": 2048,
   "minLength": 1,
   "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$",
   "type": "string"
  },
  "Name": {
   "maxLength": 48,
   "minLength": 1,
   "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
   "type": "string"
  },
  "PolicyEngineArn": {
   "maxLength": 136,
   "minLength": 76,
   "pattern": "^arn:aws[-a-z]{0,7}:bedrock-agentcore:[a-z0-9-]{9,15}:[0-9]{12}:policy-engine/[a-zA-Z][a-zA-Z0-9-_]{0,47}-[a-zA-Z0-9_]{10}$",
   "type": "string"
  },
  "PolicyEngineId": {
   "maxLength": 59,
   "minLength": 12,
   "pattern": "^[A-Za-z][A-Za-z0-9_]*-[a-z0-9_]{10}$",
   "type": "string"
  },
  "Status": {
   "$ref": "#/definitions/PolicyEngineStatus"
  },
  "StatusReasons": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array"
  },
  "UpdatedAt": {
   "format": "date-time",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/PolicyEngineId",
  "/properties/CreatedAt",
  "/properties/UpdatedAt",
  "/properties/PolicyEngineArn",
  "/properties/Status",
  "/properties/StatusReasons"
 ],
 "required": [
  "Name"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::BedrockAgentCore::PolicyEngine"
}
