{
 "additionalIdentifiers": [
  [
   "/properties/Id"
  ]
 ],
 "additionalProperties": false,
 "definitions": {
  "BillInterval": {
   "additionalProperties": false,
   "properties": {
    "End": {
     "format": "date-time",
     "type": "string"
    },
    "Start": {
     "format": "date-time",
     "type": "string"
    }
   },
   "type": "object"
  },
  "BillScenarioStatus": {
   "enum": [
    "READY",
    "LOCKED",
    "FAILED"
   ],
   "type": "string"
  },
  "GroupSharingPreference": {
   "enum": [
    "OPEN",
    "PRIORITIZED",
    "RESTRICTED"
   ],
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "pattern": "^arn:aws[-a-z]*:bcm-pricing-calculator::[0-9]{12}:bill-scenario/[a-f0-9-]+$",
   "type": "string"
  },
  "BillInterval": {
   "$ref": "#/definitions/BillInterval"
  },
  "CostCategoryGroupSharingPreferenceArn": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[a-z-]*:ce::[0-9]{12}:costcategory/[a-f0-9-]{36}$",
   "type": "string"
  },
  "CreatedAt": {
   "format": "date-time",
   "type": "string"
  },
  "ExpiresAt": {
   "format": "date-time",
   "type": "string"
  },
  "FailureMessage": {
   "type": "string"
  },
  "GroupSharingPreference": {
   "$ref": "#/definitions/GroupSharingPreference"
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "maxLength": 64,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9-]+$",
   "type": "string"
  },
  "Status": {
   "$ref": "#/definitions/BillScenarioStatus"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/Id",
  "/properties/BillInterval",
  "/properties/Status",
  "/properties/CreatedAt",
  "/properties/FailureMessage"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-bcm-pricing-calculator",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::BcmPricingCalculator::BillScenario"
}
