{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigateway-usageplankey.json",
  "title": "AWSApiGatewayUsagePlanKeyProperties",
  "description": "Resource Type definition for AWS::ApiGateway::UsagePlanKey. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigateway-usageplankey.json",
    "sourceSha256": "2486654d7c405b011771ea5c99d6236732509fc9e95a81065dc0420ea146c64c"
  },
  "type": "object",
  "properties": {
    "KeyId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the usage plan key."
    },
    "KeyType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "API_KEY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of usage plan key. Currently, the only valid key type is API_KEY."
    },
    "UsagePlanId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the usage plan."
    }
  },
  "typeName": "AWS::ApiGateway::UsagePlanKey",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "taggable": false,
  "required": [
    "KeyType",
    "UsagePlanId",
    "KeyId"
  ],
  "createOnlyProperties": [
    "/properties/KeyId",
    "/properties/UsagePlanId",
    "/properties/KeyType"
  ]
}
