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

推荐订阅源

Martin Fowler
Martin Fowler
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
The Cloudflare Blog
WordPress大学
WordPress大学
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 司徒正美
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
C
Check Point Blog
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
V
V2EX
F
Fortinet All Blogs
B
Blog
大猫的无限游戏
大猫的无限游戏
N
Netflix TechBlog - Medium
B
Blog RSS Feed
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

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 CLI がローカルのサーバーレス開発を加速するために ...
Amazon Web Services · 2026-05-19 · via Recent Announcements

投稿日: 2026年5月18日

AWS SAM CLIAWS CloudFormation Language Extensions をサポートするようになりました。これにより、ローカル開発ワークフロー全体を維持しながら、Infrastructure as Code (IaC) テンプレートの重複を減らすことができます。一度リソースを定義すれば、クラウドのデプロイを待たずにローカルで反復処理できるため、サーバーレス開発を加速できます。

開発者は、多くの場合、1 つのテンプレート定義から Lambda 関数、DynamoDB テーブル、SNS トピックなど、複数の類似したリソースを定義する必要があります。ただし、SAM CLI を使用してサーバーレスアプリケーションを構築、テスト、デプロイしていた開発者は、これまでは CloudFormation Language Extensions を使用するテンプレートを処理できませんでした。そのためには、テンプレートの重複を減らすか、ローカル開発に SAM CLI を使用するかの選択が必要でした。今後は、SAM CLI は、CloudFormation デプロイ用の元のテンプレートを維持しながら、ローカル操作用にメモリ内で Language Extensions を処理します。リソースを一度定義すれば、すべての SAM CLI コマンドでローカルでリソースをテストして、無効な構文や依存関係の欠落などのエラーをデプロイ前に検出できます。これにより、イテレーションサイクルが短縮され、クラウドで失敗したデプロイのデバッグに費やす時間を短縮できます。

使用を開始するには、SAM CLI をダウンロードするか、最新バージョンに更新してください。AWS::LanguageExtensions 変換を SAM テンプレートに追加し、Fn::ForEach を使用して 1 つの定義から複数のリソースを生成します。sam build、sam local invoke、sam sync、sam local start-api、sam validate などの SAM CLI コマンドは、自動的にループを拡張し、生成された各リソースを処理します。拡張された関数を名前で呼び出すことができます (例: sam local invoke AlphaFunction)。SAM CLI は、DefaultValue を使用した Fn::Length、Fn::ToJsonString、Fn::FindInMap、条件付きの DeletionPolicy 属性と UpdateReplacePolicy 属性もサポートしています。

詳細については、SAM CLI デベロッパーガイドローンチブログ記事をご覧ください。