Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20220626_JAWS-UG福岡_初心者がCDKで_Step_Functionsと戯れてた...
Search
midnight480
March 16, 2023
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20220626_JAWS-UG福岡_初心者がCDKで_Step_Functionsと戯れてたら神様が降りてきた.pdf
midnight480
March 16, 2023
More Decks by midnight480
See All by midnight480
20260906 Kiro Products
midnight480
0
53
20260228_JAWS-UG_SaGA_Kiro-CLI
midnight480
0
160
Intro SAGA Event Space
midnight480
0
400
JAWS-UG Saga for Beginners
midnight480
0
78
SAGA IT Community Day 2026 Winter 2025.12.20
midnight480
0
580
Kiroで実現する “Spec Driven Development”
midnight480
0
320
Kiro CLI 〜無料でここまでできる!〜
midnight480
0
360
AWS Summit Japan 2025 個人的参加レポート
midnight480
0
510
Amazon Q Developer for CLI の紹介
midnight480
0
540
Other Decks in Technology
See All in Technology
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
0
270
LLMに渡さなかった仕事
nanaism
0
1.2k
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
370
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.4k
映像変換サーバーなしで端末内でHLSを生成してライブ配信
hikarusato
0
130
`t*(42&t>>10)`だけで音楽が鳴る、Swiftで実装するBytebeat / iOSDC Japan 2026
yutailang0119
0
120
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
330
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
130
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.4k
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
400
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
3
970
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
520
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
142
7.7k
GraphQLとの向き合い方2022年版
quramy
50
15k
WENDY [Excerpt]
tessaabrams
14
39k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
530
Paper Plane (Part 1)
katiecoart
PRO
2
11k
RailsConf 2023
tenderlove
30
1.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
510
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Music & Morning Musume
bryan
48
7.4k
Transcript
初心者がCDKで Step Functionsと戯れてたら 神様が降りてきた 2022/06/26 JAWS-UG 福岡 #12
お話すること ・ 自己紹介 ・ 戯れることになったきっかけ ・ 題材について ・ 詰まったところ ・
神様が降りてきた ・ まとめ
自己紹介 ・ 大分(2010年3月まで) → 東京 → 福岡(2021年11月から) - 12Uラックも無事に東京から福岡へ引越完了
・ とある情シス → 4日後スタートアップのインフラエンジニアに転職 - 前職はアプリケーション /インフラ保守運用エンジニア - アプリケーション保守運用・設計開発・提案 - インフラ保守運用・設計実装 - 問い合わせ窓口 ・情シス 運営支援 - クラウド活用推進・導入支援・設計・運用 ・ スポーツ・フェスが好きだった(過去形 ...) - クラブW杯 / a-nationは特に ・ 好きなAWSサービス - Organizations, CloudFormation StackSets, SSO midnight480 tetsuya.shibao shibao-tetsuya https://midnight480.com/
戯れることになったきっかけ ・ JAWS-UG CDK支部でStep Functionsの部分がシンプルになった事例が紹介されていた https://jawsug-cdk.connpass.com/event/246765/ 気になる方は本家のスライド 👉 https://winteryukky.github.io/slides-cost-cut-using-aws-cdk/
AWS CDKとは ・AWS Cloud Development Kit (AWS CDK) は、 TypeScript、Python、Java、.NET、および
Go(Preview)で定義が書けて、 Cloud Formationのテンプレートを生成、あるいはそのままデプロイできる https://aws.amazon.com/jp/cdk/
AWS Step Functionsとは ・200以上のサービス、9,000を超えるAPIを呼び出すことが可能で、 それらをワークフローとして管理、実行できる https://aws.amazon.com/jp/step-functions/
そもそもStep Fuctions触ったことないなぁ...🤔 CDKはv2になってからあまり触っていないなぁ...🤔 やってみよう💡
題材について ・ AWS Hands-on for BeginnersにStep Functionsのテーマが追加されていた ほかにもいろいろ👉 https://aws.amazon.com/jp/aws-jp-introduction/aws-jp-webinar-hands-on/
ブラウザベースで作ってリソースを抽出してみる ・ 流れに沿ってもくもく作って動かしてみる ・ 動作確認後にFormer2で定義を抽出してみる
ASL(Amazon State Language)で出してきた😇 CDKでStep Functionsの可読性が上がった感じが全くしない😇 書くか😎
詰まったところ ・ Step Functions Tasks配下に Translate(テキストの翻訳)見当たらない😥 https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.TransformInput.html (Sagemaker)Transformしかない
神様が降りてきた
なんだ、ただの神か
CDKでTranslateできた+ Pollyも実装できた https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html
Step Functionsの定義部分 (全部入り)136行 JSON (SFn有効行) 35行 TypeScript
・ 自分がわからないところに運良く反応してくれる人がいた(神) ・ Step FunctionsのAWS CDKは可読性は上がった(個人の主観) https://github.com/midnight480/aws-h4b-aws-step-functions-beginner/ ・Step FunctionsのCallAWSServiceが便利(推しポイント) ほとんどのAWSサービスが呼び出せて便利、
ただ権限追加で必要なときもある → 作成されるIAM Roleに別途追加 まとめ