{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-usage-limit-request-schema.json",
  "title": "CreateUsageLimitRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-usage-limit-api-openapi.yml#/components/schemas/CreateUsageLimitRequest",
  "type": "object",
  "properties": {
    "resourceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for."
    },
    "usageType": {
      "type": "string",
      "description": "The type of Amazon Redshift Serverless usage to create a usage limit for."
    },
    "amount": {
      "type": "integer",
      "description": "The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number."
    },
    "period": {
      "type": "string",
      "description": "The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly."
    },
    "breachAction": {
      "type": "string",
      "description": "The action that Amazon Redshift Serverless takes when the limit is reached. The default is log."
    }
  },
  "required": [
    "resourceArn",
    "usageType",
    "amount"
  ]
}