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
460
0
Share
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
550
デザインファイルにおける継続的インテグレーション
jaxx2104
2
510
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.3k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
470
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
810
サイレントヒーローを作らない取り組み
jaxx2104
1
220
開発組織のメンバーからリーダーになって
jaxx2104
0
150
Nikuman
jaxx2104
0
490
Other Decks in Programming
See All in Programming
AWSコミュニティ活動は顧客のクラウド推進に効くのか / Do AWS community activities help customers adopt the cloud?
seike460
PRO
0
150
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
120
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
260
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
160
AIエージェントで業務改善してみた
taku271
0
550
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
380
Swift Concurrency Type System
inamiy
1
550
Back to the roots of date
jinroq
0
510
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
180
PHPer、Cloudflare に引っ越す
suguruooki
1
110
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
430
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.6k
HDC tutorial
michielstock
2
640
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
KATA
mclloyd
PRO
35
15k
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Design in an AI World
tapps
1
200
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
Exploring anti-patterns in Rails
aemeredith
3
330
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༵ۚ