{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DeviceArn"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "TimePeriod": {
   "additionalProperties": false,
   "properties": {
    "EndAt": {
     "type": "string"
    },
    "StartAt": {
     "type": "string"
    }
   },
   "required": [
    "StartAt",
    "EndAt"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/SpendingLimitArn"
 ],
 "properties": {
  "CreatedAt": {
   "type": "string"
  },
  "DeviceArn": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "QueuedSpend": {
   "type": "string"
  },
  "SpendingLimit": {
   "minLength": 1,
   "pattern": "^\\d+(\\.\\d{1,2})?$",
   "type": "string"
  },
  "SpendingLimitArn": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^arn:aws[a-z\\-]*:braket:[a-z0-9\\-]+:[0-9]{12}:spending-limit/.*$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  },
  "TimePeriod": {
   "$ref": "#/definitions/TimePeriod"
  },
  "TotalSpend": {
   "type": "string"
  },
  "UpdatedAt": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/SpendingLimitArn",
  "/properties/QueuedSpend",
  "/properties/TotalSpend",
  "/properties/CreatedAt",
  "/properties/UpdatedAt"
 ],
 "required": [
  "DeviceArn",
  "SpendingLimit"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Braket::SpendingLimit"
}
