cfn-api-gateway-integration-response
Version:
Custom::ApiGatewayIntegrationResponse | AWS CloudFormation Custom Lambda Resource | API Gateway IntegrationResponse
62 lines (61 loc) • 1.27 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"StatusCode",
"HttpMethod",
"ResourceId",
"RestApiId"
],
"additionalProperties": false,
"properties": {
"StatusCode": {
"type": "string",
"pattern": "^\\d{3}$"
},
"HttpMethod": {
"type": "string",
"enum": [
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT"
]
},
"ResourceId": {
"type": "string",
"pattern": "^[a-z0-9]+$"
},
"RestApiId": {
"type": "string",
"pattern": "^[a-z0-9]{10}$"
},
"ResponseTemplates": {
"type": "object",
"properties": {},
"patternProperties": {
".+": {
"type": "string"
}
},
"additionalProperties": false
},
"ResponseParameters": {
"type": "object",
"properties": {},
"patternProperties": {
"^method\\.response\\.header\\..+$": {
"type": "string",
"pattern": "^(integration\\.response\\.header\\..)|(integration\\.response\\.body\\..)|('.*')+$"
}
},
"additionalProperties": false
},
"SelectionPattern": {
"type": "string"
}
}
}