{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/PortfolioId",
  "/properties/ProductId"
 ],
 "oneOf": [
  {
   "required": [
    "LocalRoleName"
   ]
  },
  {
   "required": [
    "RoleArn"
   ]
  }
 ],
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AcceptLanguage": {
   "maxLength": 100,
   "minLength": 0,
   "type": "string"
  },
  "Description": {
   "maxLength": 2000,
   "minLength": 0,
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "LocalRoleName": {
   "type": "string"
  },
  "PortfolioId": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9_\\-]*$",
   "type": "string"
  },
  "ProductId": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9_\\-]*$",
   "type": "string"
  },
  "RoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "pattern": "arn:(aws|aws-cn|aws-us-gov):iam::[0-9]*:(role)\\/.*",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "PortfolioId",
  "ProductId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-servicecatalog/tree/master/aws-servicecatalog-launchroleconstraint.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::ServiceCatalog::LaunchRoleConstraint",
 "writeOnlyProperties": [
  "/properties/AcceptLanguage"
 ]
}
