{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/NotificationArns",
  "/properties/ProvisionedProductName"
 ],
 "definitions": {
  "OutputType": {
   "type": "string"
  },
  "ProvisioningParameter": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 1000,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 4096,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "ProvisioningPreferences": {
   "additionalProperties": false,
   "properties": {
    "StackSetAccounts": {
     "items": {
      "pattern": "^[0-9]{12}$",
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    },
    "StackSetFailureToleranceCount": {
     "minimum": 0,
     "type": "integer"
    },
    "StackSetFailureTolerancePercentage": {
     "maximum": 100,
     "minimum": 0,
     "type": "integer"
    },
    "StackSetMaxConcurrencyCount": {
     "minimum": 1,
     "type": "integer"
    },
    "StackSetMaxConcurrencyPercentage": {
     "maximum": 100,
     "minimum": 1,
     "type": "integer"
    },
    "StackSetOperationType": {
     "enum": [
      "CREATE",
      "UPDATE",
      "DELETE"
     ],
     "type": "string"
    },
    "StackSetRegions": {
     "items": {
      "pattern": "^[a-z]{2}-([a-z]+-)+[1-9]",
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "documentationUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html",
 "primaryIdentifier": [
  "/properties/ProvisionedProductId"
 ],
 "properties": {
  "AcceptLanguage": {
   "enum": [
    "en",
    "jp",
    "zh"
   ],
   "type": "string"
  },
  "CloudformationStackArn": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "NotificationArns": {
   "items": {
    "type": "string"
   },
   "maxItems": 5,
   "type": "array",
   "uniqueItems": true
  },
  "Outputs": {
   "additionalProperties": false,
   "maxProperties": 100,
   "patternProperties": {
    "^[A-Za-z0-9]{1,64}$": {
     "$ref": "#/definitions/OutputType"
    }
   },
   "type": "object"
  },
  "PathId": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "PathName": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "ProductId": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "ProductName": {
   "maxLength": 128,
   "minLength": 1,
   "type": "string"
  },
  "ProvisionedProductId": {
   "maxLength": 50,
   "minLength": 1,
   "type": "string"
  },
  "ProvisionedProductName": {
   "maxLength": 128,
   "minLength": 1,
   "type": "string"
  },
  "ProvisioningArtifactId": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "ProvisioningArtifactName": {
   "type": "string"
  },
  "ProvisioningParameters": {
   "items": {
    "$ref": "#/definitions/ProvisioningParameter"
   },
   "type": "array"
  },
  "ProvisioningPreferences": {
   "$ref": "#/definitions/ProvisioningPreferences"
  },
  "RecordId": {
   "maxLength": 50,
   "minLength": 1,
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/RecordId",
  "/properties/CloudformationStackArn",
  "/properties/Outputs",
  "/properties/ProvisionedProductId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "typeName": "AWS::ServiceCatalog::CloudFormationProvisionedProduct"
}
