Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (47 sloc) 1.63 KB
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ApiDeploy Request",
"type": "object",
"properties": {
"restApiId": {
"description": "Id of the Rest API you want to deploy.",
"type": "string",
"required": true
},
"description": {
"description": "A description for the Deployment.",
"type": "string"
},
"stageName": {
"description": "Name of the Stage you want to deploy to. If the Stage does not exist it will be created. You may change the name of the Stage but that will have no impact on the existing Stage, thus the existing Stage will remain deployed.",
"type": "string",
"required": true
},
"stageDescription": {
"description": "The description for the Stage resource.",
"type": "string",
"default": ""
},
"cacheClusterEnabled": {
"type": "string",
"pattern": "^(true|false)$",
"default": "false"
},
"cacheClusterSize": {
"enum": ["0.5", "1.6", "6.1", "13.5", "28.4", "58.2", "118", "237"],
"default": "0.5"
},
"stageVariables": {
"description": "Stage variables defined as string key/string value pairs.",
"type": "object"
},
"methodSettings": {
"description": "Method specific settings defined as json path keys & string values.",
"type": "object"
},
"lastModified": {
"type": "string"
}
},
"additionalProperties": false
}