惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
B
Blog
罗磊的独立博客
GbyAI
GbyAI
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
The GitHub Blog
The GitHub Blog
人人都是产品经理
人人都是产品经理
博客园 - Franky
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Visual Studio Blog
MyScale Blog
MyScale Blog
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏

Recent Announcements

Amazon EC2 X8i instances are now available in Europe (Paris) Amazon CloudWatch pipelines now supports drop and conditional processing AWS Deadline Cloud supports monitor creation in multiple regions Amazon CloudWatch pipelines introduces new compliance and governance capabilities Second-generation Amazon FSx for NetApp ONTAP is now available in four additional AWS commercial and AWS GovCloud (US) Regions AWS Billing and Cost Management Dashboards Now Supports Scheduled Email Delivery AWS RTB Fabric supports health checks for real-time bidding workloads AWS Backup extends Amazon FSx support to 5 additional AWS Regions and expands cross-Region and cross-account copy to 14 AWS Regions Amazon RDS now supports the latest CU and GDR updates for Microsoft SQL Server Amazon Timestream for InfluxDB Now Supports Customer-Defined Maintenance Windows Amazon Bedrock now supports cost allocation by IAM user and role Amazon OpenSearch Service supports Managed Prometheus and agent tracing Amazon S3 Lifecycle pauses actions on objects that are unable to replicate Amazon RDS Blue/Green Deployments now supports Amazon RDS Proxy AWS Marketplace announces the Discovery API for programmatic access to catalog data AWS Agent Registry for centralized agent discovery and governance is now available in Preview Amazon OpenSearch Serverless now supports Zstandard (zstd) codec for index compression AWS Private CA now supports customer managed permissions for cross-account sharing Amazon EC2 Capacity Manager now supports tag-based dimensions Amazon Route 53 Resolver endpoints now support DNS delegation for private hosted zones in AWS GovCloud (US) Regions SageMaker HyperPod now supports gang scheduling for distributed training workloads Amazon IVS 实时直播功能现已支持冗余摄取 Amazon EKS 托管节点组现在支持 EC2 Auto Scaling 暖池 Amazon Bedrock AgentCore 浏览器新增操作系统级交互功能 Amazon WorkSpaces Advisor now available for AI-powered troubleshooting Amazon OpenSearch Service now supports Graviton4 based i8ge instances Oracle Database@AWS is now available in twelve AWS Regions AWS Lambda expands response streaming support to all commercial AWS Regions AWS Cost Explorer launches Natural Language Query capabilities powered by Amazon Q Amazon Lightsail 现已在亚太地区(马来西亚)区域推出
AWS SAM が Amazon API Gateway の WebSocket API のサポート...
Amazon Web Services · 2026-05-06 · via Recent Announcements

投稿日: 2026年5月5日

AWS サーバーレスアプリケーションモデル (AWS SAM) が Amazon API Gateway のための WebSocket API をサポートするようになりました。これにより、SAM テンプレートでは最小限の設定で完全な WebSocket API を定義できるようになりました。

AWS SAM は、サーバーレスアプリケーションの構築と管理を容易にするオープンソースツールのコレクションです。WebSocket API は、チャット、ライブダッシュボード、AI/LLM ストリーミング、および IoT などのリアルタイムアプリケーションに不可欠です。しかし、以前は SAM が WebSocket API をサポートしていなかったため、AWS CloudFormation の基盤となるすべてのリソースを手動で設定する必要がありました。そのため、Lambda 関数の IAM 権限がないなどの一般的な問題のデバッグが困難でした。現在、SAM はこれらすべてを自動的に処理し、テンプレートから必要なリソースと権限を生成します。新しいリソースは、IAM および Lambda 認証、カスタムドメイン、RouteSettings、Models、StageVariables など、API Gateway WebSocket API と同等の機能を提供します。グローバルサポートにより、複数の WebSocket API 間で共通の設定を共有できます。

開始するには、AWS::Serverless::WebSocketApi リソースタイプを SAM テンプレートに追加します。アプリケーションに必要なカスタムルートとともに、$connect、$disconnect、および $default ルートの Lambda 関数ハンドラーを指定してルートを定義します。SAM は各ルートの統合と権限を自動的に接続します。認証、ステージ設定、およびカスタムドメインをリソース定義内で直接設定することもできます。

詳細については、SAM デベロッパーガイドをご覧ください。