{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/Type",
  "/properties/Tags",
  "/properties/BucketName",
  "/properties/Owner",
  "/properties/ConnectionArn"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "lifecycle": {
  "date": "2025-10-07",
  "status": "maintenance"
 },
 "primaryIdentifier": [
  "/properties/AssociationArn"
 ],
 "properties": {
  "AssociationArn": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+",
   "type": "string"
  },
  "BucketName": {
   "format": "AWS::S3::Bucket.Name",
   "maxLength": 63,
   "minLength": 3,
   "pattern": "^\\S(.*\\S)?$",
   "type": "string"
  },
  "ConnectionArn": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+",
   "type": "string"
  },
  "Name": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^\\S[\\w.-]*$",
   "type": "string"
  },
  "Owner": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^\\S(.*\\S)?$",
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": false
  },
  "Type": {
   "enum": [
    "CodeCommit",
    "Bitbucket",
    "GitHubEnterpriseServer",
    "S3Bucket"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/AssociationArn"
 ],
 "required": [
  "Name",
  "Type"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-codegurureviewer",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": false,
  "taggable": true
 },
 "typeName": "AWS::CodeGuruReviewer::RepositoryAssociation",
 "writeOnlyProperties": [
  "/properties/Owner",
  "/properties/ConnectionArn"
 ]
}
