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
CDKでValidationする本当の方法 / cdk-validation
Search
k.goto
January 23, 2023
Programming
2
2.1k
CDKでValidationする本当の方法 / cdk-validation
2023/01/25開催 JAWS-UG CDK支部 #5「〜新春隠し芸大会〜」での発表資料です。
k.goto
January 23, 2023
Tweet
Share
More Decks by k.goto
See All by k.goto
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
7
2.5k
OSS活動のススメ / oss-activities
gotok365
4
920
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
5
1.5k
S3バケットを高速で削除・空にするツール「cls3」 / s3-deletion-tool-cls3
gotok365
4
750
AWS CDKで コンテナイメージスキャンを行う 〜ECRとその他の方法〜 / cdk-container-image-scan
gotok365
2
1.4k
スタートアップでこそCDKが活きた〜生産性を向上できた5つの理由〜 / startup-cdk-productivity
gotok365
13
3.9k
AWS CDKで"使う"GoFデザインパターン 〜実際どうなの?〜 / GoF design patterns used with AWS CDK
gotok365
4
1.6k
AWS CDKで学ぶGoFデザインパターン〜IaCにもコード設計〜 / aws dev day cdk gof design patterns
gotok365
13
6.1k
CloudWatch複合アラームでELBの5XXをいい感じに検知しようとしたらうまくいかなかった話 / cloudwatch alarm elb 5xx
gotok365
0
3.3k
Other Decks in Programming
See All in Programming
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
ASP.NET Core の OpenAPIサポート
h455h1
0
120
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.4k
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
2.7k
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
6k
return文におけるstd::moveについて
onihusube
1
1.4k
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
Featured
See All Featured
Docker and Python
trallard
43
3.2k
A better future with KSS
kneath
238
17k
Why Our Code Smells
bkeepers
PRO
335
57k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Automating Front-end Workflow
addyosmani
1366
200k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Unsuck your backbone
ammeep
669
57k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Transcript
LHPUP าͷςοΫ $%,Ͱ7BMJEBUJPO͢Δຊͷํ๏ +"846($%,ࢧ෦ʙ৽य़Ӆܳ͠େձʙ
ࣗݾհ w ςοΫϦʔυ w าͷςοΫ ٕज़ϒϩά ‣ "84ωλׂ w
ϥʔϝϯ͖ w 5XJUUFS!@TUFQ@UFDI ‣ LHPUP าͷςοΫ
ʙ৽य़Ӆܳ͠େձʙ ͔͍ࣗͬͯ͠ͳ͍Ͱ͋Ζ͏ػೳͷ͓
લఏ w $%,5ZQF4DSJQUͰ࣮͍ͯ͠·͢ w όʔδϣϯ ‣ /PEFKT ‣ 5ZQF4DSJQU ‣
"84$%, ຊهࣄͷ࣮ߦ༰ɺWͩͱগ͠ڍಈ͕มΘΓ·͢
$%,Ͱ7BMJEBUJPO͍ͨ͠ͳ͋
7BMJEBUJPOͯ͠Έͨ
7BMJEBUJPOͯ͠Έͨ ˞ಡ·ͳͯ͘େৎͰ͢
7BMJEBUJPOͯ͠Έͨ &SSPSUIFDPOTUSVDU$EL"EE7BMJEBUJPO4UBDLIBTBWBMJEBUF NFUIPE XIJDIJTOPMPOHFSTVQQPSUFE6TFDPOTUSVDUOPEFBEE7BMJEBUJPO UP BEEWBMJEBUJPOTUPBDPOTUSVDU w ελοΫΫϥεʹWBMJEBUF ϝιου࡞ͬͪΌμϝ w
lDPOTUSVDUOPEFBEE7BMJEBUJPO Λ͍ͳ͍͞ ‣ όϦσʔγϣϯΛίϯετϥΫτʹՃ͢Δ ˞WBMJEBUF NFUIPEJTOPMPOHFSTVQQPSUFE $%,Wͩͱ·ͨҧ͏ͷͰ͢ ΦʔόʔϥΠυʹͳΔ
BEE7BMJEBUJPO IUUQTEPDTBXTBNB[PODPNDELBQJWEPDT DPOTUSVDUT/PEFIUNMBEEXCSWBMJEBUJPOWBMJEBUJPO ͨ͠όϦσʔγϣϯ͕ DELTZOUI࣌ʹΓ·͢
JOUFSGBDF*7BMJEBUJPO IUUQTEPDTBXTBNB[PODPNDELBQJWEPDTDPOTUSVDUT*7BMJEBUJPOIUNM
ݺͼग़ؔ͠ ͜ΕΛ࡞ͯ͠ όϦσʔγϣϯϧʔϧΛ࣮ .Z7BMJEBUPSͷΠϯελϯεΛੜ UIJTOPEFBEE7BMJEBUJPOʹ͢
ॻ͍ͯΈͨ 7BMJEBUPS w ྫʣ8"'ͷϦʔδϣϯͱείʔϓͷΈ߹ΘͤͷόϦσʔγϣϯ ˞BEE7BMJEBUJPJO͠ͳͯ͘DELEFQMPZ࣌ʹΤϥʔʹͳΔྫͰ͕͢ɺ͋͘·ͰྫͰ͢
ॻ͍ͯΈͨ 4UBDL w ελοΫΫϥεͰόϦσʔγϣϯ 7BMJEBUPS Λ͢ ͨͬͨߦʂ *GUSZ UISPXOFX&SSPS ͱ͔͍Βͳ͍ʂ
࣮ߦͯ͠Έͨ DELTZOUI .Z7BMJEBUPSWBMJEBUF Ͱ SFHJPO͕zVTFBTUzͰͳ͍ͱΤϥʔʹ͢ΔΑ͏όϦσʔγϣϯͯ͋͠Δ &SSPS7BMJEBUJPOGBJMFEXJUIUIFGPMMPXJOHFSSPST <$EL"EE7BMJEBUJPO4UBDL>3FHJPONVTUCFVTFBTUXIFO$-06%'30/5
ෳΤϥʔͷݕ w Γ͕TUSJOH<>ͳͷͰɺෳͷΤϥʔΛݕɾग़ྗͰ͖Δ &SSPS7BMJEBUJPOGBJMFEXJUIUIFGPMMPXJOHFSSPST <$EL"EE7BMJEBUJPO4UBDL>5FTU&SSPS <$EL"EE7BMJEBUJPO4UBDL>5FTU&SSPS ʢ༻ྫʣ ελοΫʹͨ͠֎෦ύϥϝʔλ Ͱҧͨ͠ύϥϝʔλΛશ෦ग़ྗ
Ϣʔεέʔε w ελοΫ͢ύϥϝʔλɾίϯςΩετͷใʹରͯ͠όϦσʔτ͍ͨ͠ ‣ ࣮ߦͯ͠ΤϥʔʹͳΒͳ͍͚ͲΦϖϨʔγϣϯ্͍͗ͨ ˞ࠓճڍ͛ͨྫBEE7BMJEBUJPO͠ͳͯ͘DELEFQMPZ࣌ʹΤϥʔʹͳΓ·͢ 㾎͋͘·ͰαϯϓϧྫͳͷͰɻɻɻ 㾎DELTZOUI࣌ʹ͛Δͱ͍͏ྑ͍ ‣
"TQFDU͏Α͏ͳͷͰͳ͍ ελοΫಛ༗ͷϧʔϧ
ϝϦοτ w ෳΤϥʔͷϋϯυϦϯά ‣ *GPSUSZDBUDI &SSPS UISPX ͩͱجຊతʹҰͭͷΤϥʔ ։ൃऀମݧΞοϓʂ
w อकੑ্ ‣ ΧϓηϧԽʹΑΓɺόϦσʔγϣϯϧʔϧΛม͑ͯελοΫΫϥεʹมߋ͕ͳ͍ ‣ ͚ʹΑͬͯɺίʔυελοΫߏͷݟ௨͠ྑ͘ͳΔ w ެ͕ࣜఏڙ ‣ Ϩʔϧʹ͔ͬΔʂ
ެࣜ$%,8PSLTIPQʮόϦσʔγϣϯςετʯ IUUQTDELXPSLTIPQDPNKBUZQFTDSJQUBEWBODFE UPQJDTDPOTUSVDUUFTUJOHWBMJEBUJPOUFTUTIUNM ެࣜͰ͢Β BEE7BMJEBUJPOΛ ͍ͬͯ·ͤΜͰͨ͠ʂʂʂ
ʙ৽य़Ӆܳ͠େձʙ ͜Ε͕ຊͷӅܳ͠ɻɻɻ
Ԡ༻ w 5ZQF4DSJQUͷ$%,ελοΫΛ;PEͰόϦσʔγϣϯ͢Δ ‣ IUUQTHPUPLIBUFOBCMPHDPNFOUSZUTDEL[PEWBMJEBUJPO w $%,ͷ֎෦ύϥϝʔλʹܕ͚ͩͰͳ੍͔͚͘Δ ‣ IUUQTHPUPLIBUFOBCMPHDPNFOUSZDELQBSBNFUFSUZQFWBMJEBUJPO
ࠓͷ༰ͷৄࡉ w ϒϩάɿ"84$%,ͰόϦσʔγϣϯΛߦ͏ BEE7BMJEBUJPO ‣ IUUQTHPUPLIBUFOBCMPHDPNFOUSZDELBEEWBMJEBUJPO ۩ମతͳίʔυɾղઆ͕ࡌͤͯ͋Γ·͢ɻ w
(JU)VC ‣ IUUQTHJUIVCDPNHPUPLDELBEEWBMJEBUJPO ࠓڍ͛ͨ؆୯ͳαϯϓϧίʔυ͕ࡌͤͯ͋Γ·͢ɻ
5IBOL:PV LHPUP าͷςοΫ