Skip to content

Instantly share code, notes, and snippets.

@rysk92
Created February 14, 2014 05:04
Show Gist options
  • Save rysk92/8996097 to your computer and use it in GitHub Desktop.
Save rysk92/8996097 to your computer and use it in GitHub Desktop.
AWS SDK for PHP 2 の AWS::factory に file path ではなく array を渡して初期化する方法 ref: http://qiita.com/rysk92@github/items/2a5480e8624c8e5c4e4c
$config = array(
'key' => 'XXX',
'secret' => 'XXX',
'region' => "XXX"
);
$client = Aws::factory($config)->get('dynamodb');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment