WeSearch

Dynamic Looping Comes to AWS SAM

·9 min read · 0 reactions · 0 comments · 11 views
#aws#serverless#cloudformation
Dynamic Looping Comes to AWS SAM
⚡ TL;DR · AI summary

AWS SAM CLI has introduced support for AWS CloudFormation Language Extensions, enhancing the development of serverless applications. The new feature, Fn::ForEach, allows for dynamic looping in YAML templates, reducing template duplication. Other extensions include functions for length, JSON conversion, and conditional policies, streamlining the local development workflow.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 2745619) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Eric D Johnson for AWS Posted on May 18 • Originally published at builder.aws.com Dynamic Looping Comes to AWS SAM #aws #serverless #sam #cloudformation AWS SAM CLI, the command-line tool for building and deploying serverless applications, now supports AWS CloudFormation Language Extensions. The one I am most excited about is Fn::ForEach, which brings dynamic looping to your YAML templates, but it's close.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)