-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand references in PatternProperties when the property has no type.
- Loading branch information
Showing
3 changed files
with
162 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"typeName": "AWS::ApiGatewayV2::RouteResponse", | ||
"description": "The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.", | ||
"additionalProperties": false, | ||
"properties": { | ||
"RouteResponseKey": { | ||
"type": "string", | ||
"description": "The route response key." | ||
}, | ||
"ResponseParameters": { | ||
"$ref": "#/definitions/RouteParameters", | ||
"description": "The route response parameters." | ||
}, | ||
"RouteId": { | ||
"type": "string", | ||
"description": "The route ID." | ||
}, | ||
"ModelSelectionExpression": { | ||
"type": "string", | ||
"description": "The model selection expression for the route response. Supported only for WebSocket APIs." | ||
}, | ||
"ApiId": { | ||
"type": "string", | ||
"description": "The API identifier." | ||
}, | ||
"ResponseModels": { | ||
"type": "object", | ||
"description": "The response models for the route response." | ||
}, | ||
"RouteResponseId": { | ||
"type": "string", | ||
"description": "" | ||
} | ||
}, | ||
"definitions": { | ||
"ParameterConstraints": { | ||
"type": "object", | ||
"properties": { | ||
"Required": { | ||
"type": "boolean", | ||
"description": "Specifies whether the parameter is required." | ||
} | ||
}, | ||
"required": [ | ||
"Required" | ||
], | ||
"additionalProperties": false, | ||
"description": "Specifies whether the parameter is required." | ||
}, | ||
"RouteParameters": { | ||
"patternProperties": { | ||
"": { | ||
"$ref": "#/definitions/ParameterConstraints" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"RouteResponseKey", | ||
"RouteId", | ||
"ApiId" | ||
], | ||
"createOnlyProperties": [ | ||
"/properties/ApiId", | ||
"/properties/RouteId" | ||
], | ||
"readOnlyProperties": [ | ||
"/properties/RouteResponseId" | ||
], | ||
"primaryIdentifier": [ | ||
"/properties/ApiId", | ||
"/properties/RouteId", | ||
"/properties/RouteResponseId" | ||
], | ||
"tagging": { | ||
"taggable": false, | ||
"tagOnCreate": false, | ||
"tagUpdatable": false, | ||
"cloudFormationSystemTags": false | ||
}, | ||
"handlers": { | ||
"create": { | ||
"permissions": [ | ||
"apigateway:POST" | ||
] | ||
}, | ||
"update": { | ||
"permissions": [ | ||
"apigateway:PATCH", | ||
"apigateway:GET", | ||
"apigateway:PUT" | ||
] | ||
}, | ||
"read": { | ||
"permissions": [ | ||
"apigateway:GET" | ||
] | ||
}, | ||
"delete": { | ||
"permissions": [ | ||
"apigateway:GET", | ||
"apigateway:DELETE" | ||
] | ||
}, | ||
"list": { | ||
"permissions": [ | ||
"apigateway:GET" | ||
] | ||
} | ||
} | ||
} |