慣性聚合 高效追蹤和閱讀你感興趣的部落格、新聞、科技資訊
閱讀原文 在慣性聚合中打開

推薦訂閱源

aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
B
Blog
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
D
DataBreaches.Net
I
InfoQ
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
H
Help Net Security

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
aws@amazon.c · 2026-05-06 · via Recent Announcements

AWS Serverless Application Model(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 会自动处理所有这些问题,根据您的模板生成所需的资源和权限。该新资源提供的功能与 API Gateway WebSocket API 相同,包括 IAM 和 Lambda 授权、自定义域、RouteSettings、模型和 StageVariables。全局支持让您能够在多个 WebSocket API 之间共享相同的配置。

要开始使用,请将 AWS::Serverless::WebSocketApi 资源类型添加到您的 SAM 模板中。通过为 $connect、$disconnect 和 $default 路由指定 Lambda 函数处理程序以及应用程序所需的任何自定义路由,定义您的路由。SAM 会自动连接每个路由的集成和权限。您还可以直接在资源定义中配置授权、阶段设置和自定义域。

要了解更多信息,请参阅 SAM 开发人员指南