{
  "typeName" : "AWS::ApiGateway::UsagePlanKey",
  "description" : "Resource Type definition for AWS::ApiGateway::UsagePlanKey",
  "additionalProperties" : false,
  "properties" : {
    "KeyId" : {
      "description" : "The ID of the usage plan key.",
      "type" : "string"
    },
    "KeyType" : {
      "description" : "The type of usage plan key. Currently, the only valid key type is API_KEY.",
      "type" : "string",
      "enum" : [ "API_KEY" ]
    },
    "UsagePlanId" : {
      "description" : "The ID of the usage plan.",
      "type" : "string"
    },
    "Id" : {
      "description" : "An autogenerated ID which is a combination of the ID of the key and ID of the usage plan combined with a : such as 123abcdef:abc123.",
      "type" : "string"
    }
  },
  "taggable" : false,
  "required" : [ "KeyType", "UsagePlanId", "KeyId" ],
  "createOnlyProperties" : [ "/properties/KeyId", "/properties/UsagePlanId", "/properties/KeyType" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "apigateway:POST", "apigateway:GET" ]
    },
    "read" : {
      "permissions" : [ "apigateway:GET" ]
    },
    "delete" : {
      "permissions" : [ "apigateway:DELETE" ]
    },
    "list" : {
      "permissions" : [ "apigateway:GET" ]
    }
  }
}