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
jaxx2104
November 29, 2013
Programming
0
450
AWS SDK触ってみる。
AWS SDK for PHP2 を使って S3 に画像をアップしてみます。
jaxx2104
November 29, 2013
Tweet
Share
More Decks by jaxx2104
See All by jaxx2104
Relative CI が気になっている話
jaxx2104
0
500
デザインファイルにおける継続的インテグレーション
jaxx2104
2
420
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.2k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
380
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
720
サイレントヒーローを作らない取り組み
jaxx2104
1
150
開発組織のメンバーからリーダーになって
jaxx2104
0
110
Nikuman
jaxx2104
0
380
レガシーなフロントエンド環境で心理的安全性を確保する / RecoChoku Tech Night #08
jaxx2104
0
330
Other Decks in Programming
See All in Programming
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
160
Dissecting and Reconstructing Ruby Syntactic Structures
ydah
3
1.8k
RubyKaigi Dev Meeting 2025
tenderlove
1
1.2k
監視 やばい
syossan27
12
10k
VitestのIn-Source Testingが便利
taro28
8
2.4k
RuboCop: Modularity and AST Insights
koic
2
2.3k
API for docs
soutaro
3
1.6k
generative-ai-use-cases(GenU)の推しポイント ~2025年4月版~
hideg
1
370
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
130
AIコーディングエージェントを 「使いこなす」ための実践知と現在地 in ログラス / How to Use AI Coding Agent in Loglass
rkaga
4
1.2k
読書シェア会 vol.4 『ダイナミックリチーミング 第2版』
kotaro666
0
110
The Evolution of the CRuby Build System
kateinoigakukun
1
760
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Raft: Consensus for Rubyists
vanstee
137
6.9k
Typedesign – Prime Four
hannesfritz
41
2.6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
YesSQL, Process and Tooling at Scale
rocio
172
14k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Designing for Performance
lara
608
69k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.6k
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༵ۚ