mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
provisionApiGatewayV2Api only forwarded Name and ProtocolType, so a template with ProtocolType: WEBSOCKET failed with "RouteSelectionExpression is required for WEBSOCKET protocol" even when the field was present, and Description, ApiKeySelectionExpression, CorsConfiguration and Tags were silently dropped. Forward RouteSelectionExpression, Description and ApiKeySelectionExpression through resolveOptional, and add parseApiGatewayV2Tags / parseApiGatewayV2Cors helpers for the JSON-object Tags shape and the PascalCase CorsConfiguration sub-object that this resource type uses. Closes #1072