{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ResourceArn"
 ],
 "primaryIdentifier": [
  "/properties/ResourceArn"
 ],
 "properties": {
  "Policy": {
   "maxLength": 20480,
   "minLength": 1,
   "type": "string"
  },
  "ResourceArn": {
   "maxLength": 1011,
   "minLength": 20,
   "pattern": "^arn:[a-z0-9-]+:bedrock-agentcore:[a-z0-9-]*:[0-9]{12}:.+$",
   "type": "string"
  }
 },
 "required": [
  "ResourceArn",
  "Policy"
 ],
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::BedrockAgentCore::ResourcePolicy"
}
