{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DomainNameArn"
 ],
 "definitions": {
  "Action": {
   "properties": {
    "InvokeApi": {
     "$ref": "#/definitions/ActionInvokeApi"
    }
   },
   "required": [
    "InvokeApi"
   ],
   "type": "object"
  },
  "ActionInvokeApi": {
   "properties": {
    "ApiId": {
     "type": "string"
    },
    "Stage": {
     "type": "string"
    },
    "StripBasePath": {
     "type": "boolean"
    }
   },
   "required": [
    "ApiId",
    "Stage"
   ],
   "type": "object"
  },
  "Condition": {
   "properties": {
    "MatchBasePaths": {
     "$ref": "#/definitions/MatchBasePaths"
    },
    "MatchHeaders": {
     "$ref": "#/definitions/MatchHeaders"
    }
   },
   "type": "object"
  },
  "MatchBasePaths": {
   "properties": {
    "AnyOf": {
     "items": {
      "type": "string"
     },
     "type": "array"
    }
   },
   "required": [
    "AnyOf"
   ],
   "type": "object"
  },
  "MatchHeaderValue": {
   "properties": {
    "Header": {
     "type": "string"
    },
    "ValueGlob": {
     "type": "string"
    }
   },
   "required": [
    "Header",
    "ValueGlob"
   ],
   "type": "object"
  },
  "MatchHeaders": {
   "properties": {
    "AnyOf": {
     "items": {
      "$ref": "#/definitions/MatchHeaderValue"
     },
     "type": "array"
    }
   },
   "required": [
    "AnyOf"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/RoutingRuleArn"
 ],
 "properties": {
  "Actions": {
   "items": {
    "$ref": "#/definitions/Action"
   },
   "type": "array"
  },
  "Conditions": {
   "items": {
    "$ref": "#/definitions/Condition"
   },
   "type": "array"
  },
  "DomainNameArn": {
   "type": "string"
  },
  "Priority": {
   "maximum": 1000000,
   "minimum": 1,
   "type": "integer"
  },
  "RoutingRuleArn": {
   "type": "string"
  },
  "RoutingRuleId": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/RoutingRuleArn",
  "/properties/RoutingRuleId"
 ],
 "required": [
  "DomainNameArn",
  "Priority",
  "Conditions",
  "Actions"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::ApiGatewayV2::RoutingRule"
}
