{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ClusterIdentifier",
  "/properties/Account"
 ],
 "definitions": {
  "AwsAccount": {
   "pattern": "^\\d{12}$",
   "type": "string"
  },
  "VpcId": {
   "pattern": "^vpc-[A-Za-z0-9]{1,17}$",
   "relationshipRef": {
    "propertyPath": "/properties/VpcId",
    "typeName": "AWS::EC2::VPC"
   },
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/ClusterIdentifier",
  "/properties/Account"
 ],
 "properties": {
  "Account": {
   "$ref": "#/definitions/AwsAccount"
  },
  "AllowedAllVPCs": {
   "type": "boolean"
  },
  "AllowedVPCs": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/VpcId"
   },
   "type": "array"
  },
  "AuthorizeTime": {
   "type": "string"
  },
  "ClusterIdentifier": {
   "pattern": "^(?=^[a-z][a-z0-9]*(-[a-z0-9]+)*$).{1,63}$",
   "type": "string"
  },
  "ClusterStatus": {
   "type": "string"
  },
  "EndpointCount": {
   "type": "integer"
  },
  "Force": {
   "type": "boolean"
  },
  "Grantee": {
   "$ref": "#/definitions/AwsAccount"
  },
  "Grantor": {
   "$ref": "#/definitions/AwsAccount"
  },
  "Status": {
   "type": "string"
  },
  "VpcIds": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/VpcId"
   },
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/Grantor",
  "/properties/Grantee",
  "/properties/AuthorizeTime",
  "/properties/ClusterStatus",
  "/properties/Status",
  "/properties/AllowedAllVPCs",
  "/properties/AllowedVPCs",
  "/properties/EndpointCount"
 ],
 "required": [
  "ClusterIdentifier",
  "Account"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-redshift",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Redshift::EndpointAuthorization",
 "writeOnlyProperties": [
  "/properties/Force"
 ]
}
