Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS Step Functions で マネコンとCDKの二刀流!
Search
Kazuki Miura
PRO
April 01, 2025
Technology
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS Step Functions で マネコンとCDKの二刀流!
#jawsug_cdk
Kazuki Miura
PRO
April 01, 2025
More Decks by Kazuki Miura
See All by Kazuki Miura
地域のCCoEの拡大を目指す 企業間コミュニティ 「re:light local」について
miu_crescent
PRO
0
58
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
5.2k
これだけはやっておいた方がよさそう?awsにおけるランサムウェア対策
miu_crescent
PRO
1
160
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
4
470
なぜ あなたはそんなに re:Invent に行くのか?
miu_crescent
PRO
0
440
エンタメ方向のTを広げよう!Werner先生の クロージングキーノートを 深掘りするための小ネタ10
miu_crescent
PRO
1
210
Amazon Bedrockを活用した 報道向け文字起こしシステムの開発
miu_crescent
PRO
1
200
us-east-1 の障害が 起きると なぜ ソワソワするのか
miu_crescent
PRO
0
96
us-east-1 の障害が 起きると なぜ ソワソワするのか
miu_crescent
PRO
3
1.2k
Other Decks in Technology
See All in Technology
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
Service Connect 上のサービスに ECS Service の外側から到達できなかった話
ota1022
1
150
名古屋の市バスGTFS-JPデータ×スガキヤ 最寄りバス停検索をAmazon ElastiCache Serverless for Valkeyで最適化する
usanchuu
1
480
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
480
SmartHR Engineering Team Deck
smarthr
1
870
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
認知負荷をGemini で溶かす — GKE 基盤「Orbit」における AI エージェントの実践
sansantech
PRO
1
270
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
200
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
【CEDEC2026】『Relink』を拡張せよ - 『GRANBLUE FANTASY: Relink - Endless Ragnarok』の開発速度と品質を守るCI運用
cygames
PRO
0
140
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
280
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Curious Case for Waylosing
cassininazir
1
450
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Thoughts on Productivity
jonyablonski
76
5.3k
Accessibility Awareness
sabderemane
1
170
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
930
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Everyday Curiosity
cassininazir
0
270
So, you think you're a good person
axbom
PRO
2
2.1k
GitHub's CSS Performance
jonrohan
1033
470k
Transcript
2025年 4月 1日 マネコン支部!? VS CDK支部 AWS Step Functions で
マネコンとCDKの二刀流! JAWS-UG CDK支部 株式会社ヘプタゴン 三浦一樹
自己紹介 株式会社ヘプタゴン クラウドアーキテクト AWS Step Functions 北海道札幌市 JAWS-UG 札幌 Media-JAWS
JAWS-UG 事務局 会社 ロール 好きな AWSサービス 居住地 コミュニティ 三浦一樹 CDK支部 勉強中 (いろいろ教えてください!)
None
これを見て、連想したもの
None
グレートマジンガー と ゲッターロボ が共闘するお話
どっちも仲良し
AWS Management Console AWS Cloud Development Kit 争いからは何も生まれない。
タイトルから登壇ネタは生まれる 2つの支部が手を取り合える何か、 、 、 AWS Management Console AWS Cloud Development
Kit
Step Functions の開発時にどっちも使うと楽しい AWS Management Console AWS Cloud Development Kit
AWS Step Functions JSON script
Workflow Studio https://github.com/aws-samples/serverless-account-signup-service/tree/jsonata-variables
IAM を自動的に作ってくれる感じが見やすい
AWS Management Console AWS Cloud Development Kit JSON script CDK
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.DefinitionBody.html JSON そのまま読み込めるコンストラクトがあった
どっちもIAM作ってくれるけど、違いはありそう { "Version": "2012-10-17", "Statement": [ { "Action": "lambda:InvokeFunction", "Resource":
[ "arn:aws:lambda:ap-northeast-1:182399705063:function:StepStack-CheckAddressFunctionF0C6D891-ruXxTjygZhtV", "arn:aws:lambda:ap-northeast-1:182399705063:function:StepStack-CheckIdentityFunction0057238E-okGf3fCH1fGL", "arn:aws:lambda:ap-northeast-1:182399705063:function:StepStack-CheckAddressFunctionF0C6D891-ruXxTjygZhtV:*", "arn:aws:lambda:ap-northeast-1:182399705063:function:StepStack-CheckIdentityFunction0057238E-okGf3fCH1fGL:*" ], "Effect": "Allow" }, { "Action": [ "dynamodb:BatchWriteItem", "dynamodb:DeleteItem", "dynamodb:DescribeTable", "dynamodb:PutItem", "dynamodb:UpdateItem" ], "Resource": [ "arn:aws:dynamodb:ap-northeast-1:182399705063:table/StepStack-AccountsTable81C15AE5-MPRF8BUHHX1P" ], "Effect": "Allow" }, { "Action": [ "sqs:GetQueueAttributes", "sqs:GetQueueUrl", "sqs:SendMessage" ], "Resource": "arn:aws:sqs:ap-northeast-1:182399705063:StepStack-HomeInsuranceInterestQueue688681B0-GwLYm4fZdqEb", "Effect": "Allow" }, { "Action": "sns:Publish", "Resource": "arn:aws:sns:ap-northeast-1:182399705063:StepStack-CustomerNotificationTopicD2C22A10-B4TvOd36q667", "Effect": "Allow" } ] } CDK が作ってくれたやつ Step Fucntions が作ってくれたやつ
どっちもIAM作ってくれるけど、違いはありそう { "Action": [ "dynamodb:BatchWriteItem", "dynamodb:DeleteItem", "dynamodb:DescribeTable", "dynamodb:PutItem", "dynamodb:UpdateItem" ],
"Resource": [ "arn:aws:dynamodb:ap-northeast-1:182399705063:table/aaaaaa" ], "Effect": "Allow" } } CDK が作ってくれたやつ Step Functions が作ってくれたやつ "dynamodb:GetItem", "dynamodb:PutItem", "dynamodb:UpdateItem", "dynamodb:DeleteItem"
IAM Role は マネコンで作ってもらうってのもよさそう? AWS Management Console AWS Cloud Development
Kit AWS Step Functions JSON script IAM Role
まとめ どっちも仲良し