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 SDK触ってみる。
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
jaxx2104
November 29, 2013
Programming
470
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS SDK触ってみる。
AWS SDK for PHP2 を使って S3 に画像をアップしてみます。
jaxx2104
November 29, 2013
More Decks by jaxx2104
See All by jaxx2104
freeeにおけるファンクションを超えた一気通貫でのAI活用
jaxx2104
3
1.8k
Relative CI が気になっている話
jaxx2104
0
570
デザインファイルにおける継続的インテグレーション
jaxx2104
2
520
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.3k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
480
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
820
サイレントヒーローを作らない取り組み
jaxx2104
1
220
開発組織のメンバーからリーダーになって
jaxx2104
0
160
Nikuman
jaxx2104
0
500
Other Decks in Programming
See All in Programming
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
250
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
320
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
230
Agentic UI
manfredsteyer
PRO
0
130
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
490
Oxlintのカスタムルールの現況
syumai
6
1.1k
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
160
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
120
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.3k
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.3k
3Dシーンの圧縮
fadis
1
690
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
340
First, design no harm
axbom
PRO
2
1.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
380
Building an army of robots
kneath
306
46k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
610
Transcript
"84ͷ4%,৮ͬͯΈΔ ༵ۚษڧձ 1311݄29༵ۚ
ͬͯΈΔͷ͕ૣ͍ʂ "84ʹ͍ͭͯ w͍Ζ͍Ζ͋ͬͯΑ͘Θ͔Μͳ͍ wͳΜ͔͍͢͜͝ͱ͕Ͱ͖ΔΒ͍͠ wొͯ͠ແྉ͕͋Δ 1311݄29༵ۚ
"84πʔϧ܈͕๛ AWS Console AWS SDK AWS CLI AWS Query API
1311݄29༵ۚ
ૹΔଆ wࠓճ4ͱ"844%,GPS1)1Λ ͬͯΈ·ͨ͠ɻ wΠϯετʔϧํ๏ IUUQEPDTBXTBNB[PODPNBXT TELQIQHVJEFMBUFTU JOTUBMMBUJPOIUNM 1311݄29༵ۚ
class SampleAws { // Amazon SDKのインスタンス private $obj = null;
/** * AWS にアクセスする際の鍵 * @return {object} instance */ public function getInstance() { if (is_null($this->obj)) { $this->obj = Aws::factory(array( 'key' => 'XXXXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'region' => 'ap-northeast-1' ))->get('s3'); } return $this->obj; } /** * s3に画像を保存 * @return {object} EndpointArns 全てのエンドポイント */ public function putObjectTest($tempFileName){ $this->getInstance()->putObject(array( 'Bucket' => 'jaxx2104', 'Key' => $tempFileName, TBNQMF 1311݄29༵ۚ
࣮ࡍʹͬͯΈ·͢ɻ 1311݄29༵ۚ
ऴΘΓͰ͢ 1311݄29༵ۚ