AWS SAM now natively supports WebSocket APIs for Amazon API Gateway, eliminating the need to manually configure CloudFormation resources. The new AWS::Serverless::WebSocketApi resource type lets developers define routes ($connect, $disconnect, $default, and custom), with SAM automatically generating required integrations and IAM permissions. The feature includes full parity with API Gateway WebSocket APIs, covering IAM and Lambda authorization, custom domains, RouteSettings, Models, StageVariables, and Globals support for shared configuration across multiple WebSocket APIs.
Sort: